Northern Lights Circular Wander Demo
This was a fun quickie. I’ve always wanted to try creating Northern Lights with Actionscript, and here was a good excuse. I’ve seen the real deal in Finland, and though my demo doesn’t act (or look) exactly like aurora borealis, it does use the Circular Wander Class I blogged about last week The code is pretty straight forward, the “trick” being that I take the y value of the “leader” (an instance of CircularWander), and cast that to the Z value of all the following particles. A little Blur, and voila. Then for lack of inspiration, I made it into a sound visualizer.
I used this random Image from Flickr as my source of inspiration:
Here’s a screenshot of the demo.
Click image to see demo WARNING: 3megs… there’s an embedded sound file…
I just added the code to the CircularWander.zip from the previous blog entry…
Hope you like it!