[Sugar-devel] Web activity example that uses html5 canvas

Manuel Quiñones manuq at laptop.org
Mon Apr 29 15:23:24 EDT 2013


Hello,

I ported the basics of Clock from cairo graphics to html5 canvas, just
to see how different it is.  Turned out to be a straight forward port,
the API look almost the same.  Here is the source, it runs in current
Sugar:

https://github.com/manuq/clockjs

And here a live demo:

http://manuq.github.io/clockjs/activity.html

I recommend this talk about writting performant webapps:

www.youtube.com/watch?v=hAzhayTnhEI

Also the tools in chromiun that are described in the talk are useful.

Cheers,

--
.. manuq ..


More information about the Sugar-devel mailing list