Full Screen Canvas Particle Demo
I created a new version of my particle demo using the HTML5 <canvas>. This version is full screen, inspired by this amazing canvas demo at Iteration Six. I’d seen their demo prior to my starting to tinker with the canvas tag, but I never really tore it apart and looked inside. From what it appears, my code and their code were achieving a lot of the same things, so I decided to update mine to take advantage of some of the exciting features in their demo, including the full screen mode and the mouse interactions.
This demo uses a bit more jQuery than the previous one to handle mouse events. The canvas is much larger than the previous one, so I had to make some small changes to increase performance. Most notably, I had to halve the framerate – this demo runs at 10fps rather than 20. I sped up the particle speed so they cover distance quicker as well.


July 2nd, 2011 at 2:20 am
hi Jon
i created a browser game recently.
i learned a lot of things (for example, javascript, jquery, canvas, and fullscreen) from your “full screen canvas particle demo”.
and the effect when you win the game is similar to your demo (particles of the game are square and move in a different way from yours).
thank you very much!
ono
http://onohugou.sakura.ne.jp/en.html
*supported browsers: firefox4+, chrome10+