Comet + Canvas (tag) => Morphic on internet browser

Brad Fuller brad at sonaural.com
Tue May 23 15:05:14 UTC 2006


Brad Fuller wrote:
> Diego Gomez Deck wrote:
>   
>> Sorry, I forgot to include information how to get it.
>>
>> Just use SqueakMap and install the version 2 of "Asteroid (a small
>> Comet)".
>>   
>>     
> Hi Diego,
>
> I tried Comet but can't get either demo to work for the second browser.
> Specifically, the second browser never connects in the ACometWidgets
> demo. I think the second browser tries to start because if I reload the
> page of the 1st browser, the 2nd browser will connect. Then, of course,
> the 1st browser is left not connected.
>
> I'm still trying to found out why the ACometCanvas isn't working. The
> browser starts up and the script loads, but there are no images in the
> canvas.
>   
sorry... Squeak 3.8-6665, Linux (FC5)



>   
>>   
>>     
>>> Hi folks,
>>>
>>> I'm still having fun with Comet
>>> (http://en.wikipedia.org/wiki/COMET_(programming)) and related stuff.
>>> My goal is to get an approximated idea of what we can do with "modern"
>>> browsers.
>>>
>>> This time I'm hacking with CANVAS tag:
>>> (http://en.wikipedia.org/wiki/Canvas_(HTML_element))
>>>
>>> I implemented a "Fake" canvas on Squeak side (I mean an Squeak-canvas)
>>> that generated JavaScript to push (using Comet) to browsers.  The speed
>>> is not so bad, and we still have room for more optimizations (reduce the
>>> size of the generated JS, compress the socket usint GZip-http, etc).
>>>
>>>
>>> The example works in Firefox (version 1.5) and IE (using the google's
>>> canvas emulation library).
>>>
>>> Next goal: Try to inject the mouse events generated in the browsers in
>>> the Squeak world to get a full interactive environment.
>>>
>>> Have fun!
>>>
>>> -- Diego
>>>     
>>>       
>>
>>
>>   
>>     
>
>
>   


-- 
Brad Fuller
Sonaural Audio Studio
+1 (408) 799-6124
Hear us online www.Sonaural.com <http://www.sonaural.com/>
See me on O'Reilly <http://www.oreillynet.com/pub/au/2184>



More information about the Squeak-dev mailing list