The original is written by JARROD OVERSON here http://html5hub.com/build-a-javascript-particle-system/
I made some minor additions, like colours,. Let me edit the title too as I dont want to give the impression i came up with it.
EDIT: I also forgot to mention you can double click to add a new field to repel particles. You get some interesting effects when you add a few.
The number of particle generators I've written for fun is too damn high, but now I want to make a javascript one. Thanks jerk. More on topic, good job. Can we see more stuff like this here?
More like what? Stuff I do: Check out my blog although I rarely have time to post new items http://secretdeveloper.github.io Small coding items: https://gist.github.com/SecretDeveloper Bigger projects: http://github.com/secretdeveloper or https://bitbucket.org/SecretDeveloper/ Javascript specific: http://jsfiddle.net/user/SecretDeveloper/fiddles/ Items similar to this where I work with Canvas and JS I guess you could look at the animated hubski logo I created a while back: http://jsfiddle.net/SecretDeveloper/59Rka/Can we see more stuff like this here?
Cool :) was needing something to do. I meant more tech oriented stuff on this site, so this applies!
I like your commenting style :-)// calculate the force via MAGIC and HIGH SCHOOL SCIENCE!