Playing Around With A 2D Wave Algorithm

If anyone reading this is prone to epileptic seizures, you may not want to watch the embedded videos. The other day I was thinking about the old Hugo Elias 2D Water article and decided to play around with it. He writes about a 2D water effect that handles an arbitrary number of ripples without using …

Streaming Microphone Audio To Unity WebGL

This is going to cover the steps I used to get the microphone working for the granulation demo.The GitHub repo for that demo can be found here. NOTE: Before reading further, please note that this only covers recording the microphone from the browser’s Unity WebGL app. It does NOT cover streaming audio playback or internet …

Notes on Audio Granulation

Retiming audio with granulation – and a simple sample in a Unity WebGL example. If we had data for an audio clip and asked someone how to change the playback speed, we’d get a common answer for both, “change the rate we process and play the audio” or “resample the audio data to go through …

Calculating an Even Width For a Line Strip

The operation goes by several names: expanding, dilating, inflating, etc. Basically, given a series of ordered points, how do we calculate a path that’s the line strip, but with an even width? A caveat, this is not going to be an optimized solution, but given the basic intuition I hope to bring, and the resulting …

Font Viewer

A Unity WebGL tool to browse the internals of font files. It supports OTF and TTF files. Either hit the “Load” button or drag and drop a file into the Unity player. Fullscreen The font parsing library and path boolean library are still a work in progress so there are quite a few edge cases …