Magnetic
Hakim El Hattab has been playing around with magnets for this HTML5 canvas experiment. Particles orbit around magnetic points creating currents – the more particles there are around a magnet – the stronger it glows.

Particles flow around the magnets
You can drag the magnets around to make different effects, add additional magnets by double clicking, remove magnets by dragging them off the canvas and press left/right on the cursor keys to try different skins.


Comments
T. Friesen
Magnetic Canvas Application (http://www.canvasdemos.com/2010/07/29/magnetic/) appears to work without issue in Safari 5 (at least on my Mac).
Posted on January 4, 2011
PCF
Works remarkable in IE9 RC. I tried it on Chrome and found that IE9 rendered the page a hair faster.
Posted on February 28, 2011
Related demos