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…
Here be the source files (without the .mp3, that would be file sharing?!)
I just added the code to the CircularWander.zip from the previous blog entry…
Hope you like it!



January 6th, 2010 at 12:29 pm
it doesn’t animate on Flash 10
January 6th, 2010 at 1:02 pm
Hi James, that’s strange… it should only “animate” on players 10 and up. Are you on a linux or so?
January 7th, 2010 at 3:06 pm
Didn’t animate with Flash 10, Chrome, Vista. Did animate fine with Flash 10, Safari, OS X 10.5
May 3rd, 2010 at 8:48 pm
Great version of Da Funk, where can I find it?!
May 3rd, 2010 at 9:10 pm
Hi Kralo, it’s a live cd called : daft punk alive 2007 if you like daft punk you’ll buy it, listen to it, and kick yourself for not being there