Thanks for putting it online.
I thank you for creating this ;-)
BTW, I already had a look at some clearingPixel alternatives and did some tests. The result so far is quite irritating:
- Clearing the canvas using a fillRect speeds up your demo in Firefox/IE9 (gain of roughly 8 fps)
- However it slows down in Chrome (drops from constant 60fps to 54fps)
Nevertheless, I will implement a generic function for clearing the pixels and will execute browser optimized clearing code under the hood in the next update.
<edit>2fps in Opera!
Jim
Yeah, I also tried to run the demos on my HTC ... nice slideshow ;-) The canvas stuff is really not made for mobiles yet ;-)