Tuesday, November 15, 2011

Keeps on Ticking

My experimentation with HTML5's canvas element and Javascript continues with this analog-style clock. I don't have much to say about the code save that I treated the canvas as a plain raster device and there may be easier, or at least different, ways to generate the clock face using rotations. If there is anything about it you would like to know, feel free to ask in the comments. For another analog clock example that does not use canvas at all, see the timing events page of the W3C's Javascript tutorial.

Your browser does not support the canvas element. This post will not display correctly

No comments: