Friday, March 08, 2013

Analog Display in HTML5

HTML5 has some amazing rendering capabilities.
I tried to mimic the rendering of those analog displays I did a while back in Java (see here), and here is what I came up with:
Of course, you need a browser that supports HTML5.
JavaScript relies on different paradigms than Java, but that works fine. Google's Chrome has some very cool features for web developers.
Here are the sources of the frame above: Right-click on the links, and use the "Save As" capability of your browser...
See here a version of Hello World, re-visited...
Enjoy!

1 comment: