The page for WebKeys (the WebGL build of Precision Keyboard) has been updated. After a certain amount of development into WebKeys, I decided to pivot the focus to an Android build. The initial version of the Android version was published with the hosted WebKeys build relegated to an early build. Until now. The online version …
Author Archives: reavenk
Precision Keyboard Has Been Released
Backstory Let’s take a quick moment for an abridged history of Precision Keyboard. A while back I was writing some articles on audio synthesis and decided to make an experimental Unity WebGL app to test to combine some of those concepts. This turned into the WebKeys demo. It was designed to be primarily for WebGL …
Terminal to File Explorer
Quick tip! I often find myself in a terminal interface wanting to open a file explorer to the current folder I’m in, or finding a previous file explorer instance I opened. I recently came to a realization that made me feel silly that I didn’t think of this earlier… Like, we’re talking a decade ago …
RectTransform With a Top-Left Origin
In this post, I talk about setting the anchorMin and anchorMax of a RectTransform to the same value and directly assigning the anchoredPosition and sizeDelta. This is going to expand on that to mimic using GUIs APIs that have an origin on the top left. A lot of traditional GUI APIs have a coordinate system …
RectTransform Variables & Insights
Let’s talk about the behavior of a RectTransform. The RectTransform is an extension of the Unity Transform. It adds some extra variables and functionality on top of the Transform class for 2D GUIs. The Heirarchy The RectTransform, like it’s Transform base class, is a transformation hierarchy. That’s where a node in a tree data structure …
New Article Directory, Unity
While a lot of my focus has been on Unity WebGL stuff, I have been doing some musings on general Unity stuff, so I created a new directory for it here. For now, everything Unity that isn’t WebGL related is going to go in there.
Tips for Implementing an FPS Counter in Unity
Some notes on displaying the frame-per-second performance of an (Unity) app, and on weighted averages. While the underlying concepts can apply outside of the Unity game engine, the examples provided are for Unity. TL;DR For anyone who wants code they can take for a weighted-smoothed FPS counter, copy the last code sample into your project. …
Continue reading “Tips for Implementing an FPS Counter in Unity”
Phonics Repo
The Phonics library has been made public on GitHub. The library is the code used to procedurally generate the audio data in the WebKeys app. While it was designed to be used for Unity to calculate streaming AudioClip PCM sample data, in theory it should be usable outside of Unity. Although because it’s made for …
Unity Tip View Real RectTransform Values
Need help understanding that confounded RectTranform inspector window and the various variables of the RectTransform? TL;DR For those looking to demystify Unity’s RectTransform class, either for general knowledge, or to edit the RectTransform variables in code – view the RectTransform in the Inspector and set the Inspector to Debug mode. Why Does This Article Exist? …
A Deep Dive into Embedding Unity WebGL Apps
The basics of embeding a Unity WebGL app. This is probably straight-forward for most people. but you never know; plus this post helps complete my Unity WebGL cookbook. TL;DR For anyone who just needs to get to the point, here’s the gist, Throw that into your HTML’s body. Some names will change depending on the …
Continue reading “A Deep Dive into Embedding Unity WebGL Apps”