« Causes Giving Challenge | Main | Elements 2007 Part 3 »

Snowstorm in 15 minutes

Introduction:
At FOTB, Seb's talk on particle systems was on my short list of sessions I wanted to see, and meeting him was a real treat. I was delighted when he joined the GalaxyGoo Flash-a-thon. His snow effect is great, and the fact that he wrote it so quickly is a testament to both his skill as a coder and his familiarity with particles. ~Kristin


sebSnow.jpg

Author: Seb Lee-Delisle, Technical Director, Plug-in Media
Author's comments:
At FlashBrighton's Big Day Out a couple of weeks ago, I set myself the somewhat crazy challenge of programming a dynamically generated snowstorm in fifteen minutes from scratch. No pre-written classes, no graphics, nothing!

Needless to say it was a somewhat frenetic, but exciting session, and I just about made it with a few seconds to spare. And, as I felt that producing 2D particle snow would be a little too easy, I decided halfway through that it'd look better in 3D. And then I added some wind. As I always say, it'd be boring if it were too easy. :-)


Support the educational projects at GalaxyGoo, and make an online donation through Network for Good or Facebook Causes..

For live version, and source files, continue reading.

So here is the code from that session, pretty much as is, except with added comments!

Oh and keep any eye on my blog, where I'll be posting more snow effects soon, including a snowy screensaver.





Download Source



Support the educational projects at GalaxyGoo, and make an online donation through Network for Good or Facebook Causes.



Creative Commons License

Creative Commons License


This work is licensed under a
Creative Commons GNU General Public License License and a
Creative Commons Attribution 3.0 United States License.