Nicer stuff can be found at:
http://www.marcoos.zwm.punkt.pl/mozilla/demos/canvas-boxes.htmlvar lastpos = ; A working example can be found at my testing site.
*For what it’s worth *
This might be a déjà vu for some of you. Indeed it looks similar to the applets (hype) of several years back. There are some differences though in the fact that no extra software needs to be installed, and no time consuming bytecode downloads are needed. But that doesn’t mean that it doesn’t demand something from your system. In the contrary, one needs to be careful not to grind the whole system to a halt. Try this demo for instance and play a bit with higher numbers. You’ll see your CPU rapidly reach 100%.
All this is rather premature and for the moment, you will only see the fun things. It can be more useful though, like in this live charting , using AJAX .
Is this only Safari and Firefox ? No, it can be somewhat emulated in MIE ( http://codinginparadise.org/weblog/2005/08/emulating-svg-and-safaris-canvas-on.html) and it seems that Opera 9 will support this too. </p>