Painting the canvas

August 28, 2009

I have been having a bit of fun today playing with the canvas element in HTML5. From scratch, not knowing anything about the element, to making this clock took about 45 minutess. The API is nice to use, and I think in the future ‘canvas’ games will be taking over from flash games.

More examples:

Updated March 2010 to automatically detect the background colour.