I’ve been trying to learn a bit more about unity, and I stumbled across this really cool function:
Audio.GetSpectrumData(samples, channel, FFTWindow.BlackmanHarris);
It returns the frequency spectrum of whatever’s happening in the game. Combine it with some music and there are a ton of super fun visualization experiments to be had. You can drive shader params, particle system properties, really anything. In this case I’m driving the velocity and scale of particle effects that form the sun, and offsetting the position of the planets to get some orbital dance action™. The track itself is just a rough cut from our unnamed band, but I think it’s a good fit for earth day. Best part is deploying to mac, pc, iphone, and the web was as easy advertised. I’m impressed.