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

[whatwg] "canvas" tag and animations ?

From: Charles Iliya Krempeaux <supercanadian@gmail.com>
Date: Wed, 15 Jun 2005 14:03:20 -0700
Message-ID: <84ce626f050615140370319bc8@mail.gmail.com>
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/
Received on Wednesday, 15 June 2005 14:03:20 UTC

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