[whatwg] "canvas" tag and animations ?

Hello,

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
problem.

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
JavaScript is done via events.)


Let me know please.


See ya

-- 
     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/

Received on Monday, 13 June 2005 00:23:08 UTC