[whatwg] "canvas" tag and animations ?
Charles Iliya Krempeaux
supercanadian at gmail.com
Mon Jun 13 00:23:08 PDT 2005
I'm very appreciative of the new "canvas" tag. (I think it has been a
long time coming.)
Now, I know that people are going to want to create animations using
this. So, what I was wondering is if there are any built in
facilities for this? (I didn't notice anything in the spec for it.)
For example, is there a method of "double buffering"? So that you
don't have to watch the canvas being "drawn" right before your eyes.
For slow systems, or complex drawing operations, this can become a
If there isn't, then you will find that people who want to create
animations are going to end up creating two canvases, and just
switching back and forth between the two, to do "double buffering".
IMO, it would be better to a have solution to this built into the API.
Maybe with some kind of "drawing transaction".
(A "draw transaction" is a little higher level than "double
buffering", and allows you use other systems for this, other than
"double buffering". And would probably be safer, considering much of
Let me know please.
Charles Iliya Krempeaux, B.Sc.
charles @ reptile.ca
supercanadian @ gmail.com
developer weblog: http://ChangeLog.ca/
Ask the toughest Linux System questions at... http://linuxmanagers.org/
More information about the whatwg