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

[whatwg] "canvas" tag and animations ?

From: Sjoerd Visscher <sjoerd@w3future.com>
Date: Thu, 16 Jun 2005 20:14:57 +0200
Message-ID: <42B1C1A0.6030104@w3future.com>
OK, I'll shut up about non scripting languages, I don't know anything 
about them.

Charles Iliya Krempeaux wrote:
> 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
> 

-- 
Sjoerd Visscher
http://w3future.com/weblog/
Received on Thursday, 16 June 2005 11:14:57 UTC

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