[whatwg] "canvas" tag and animations ?

Charles Iliya Krempeaux supercanadian at gmail.com
Wed Jun 15 14:03:20 PDT 2005


Hello,

On 6/15/05, Sjoerd Visscher <sjoerd at w3future.com> wrote:
> Christian Biesinger wrote:
> > Sjoerd Visscher wrote:
> >
> >> Christian Biesinger wrote:
> >>
> >>> Sjoerd Visscher wrote:
> >>>
> >>>> This isn't needed. Just like in normal HTML a drawing transaction is
> >>>> automatically started when the javascript code starts
> >>>
> >>>
> >>> Are the <canvas> functions JavaScript-specific?
> >>
> >>
> >> Ehm, no. Actually the automatic drawing transactions story applies to
> >> all scripting languages in HTML.
> >
> >
> > There might be non-scripting languages that want to use <canvas>.
> > Consider an extensible UA that might support writing extensions in Java
> > or C++. You can probably not extend such automatic transactions to those
> > languages...
> 
> Yes you can. A transaction takes the duration of the thread.

So then what do you do if your code is not amenable to the "event"
drive way of programming.

What if you have an "event loop" approach.  How then do you signify
the "ending" so that things can actually happen?


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/



More information about the whatwg mailing list