Create an Analog Clock Using the Canvas

Create a pretty sweet analog clock that uses a little bit trigonometry, the Date class, setInterval, and the canvas element.
This is a companion discussion topic for the original entry at http://www.kirupa.com/html5/create_an_analog_clock_using_the_canvas.htm