W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2005

[whatwg] "canvas" tag and animations ?

From: Charles Iliya Krempeaux <supercanadian@gmail.com>
Date: Mon, 13 Jun 2005 00:23:08 -0700
Message-ID: <84ce626f05061300235f925610@mail.gmail.com>

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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:41 UTC