Simple Image Rotation - Example
HTML5 and JavaScript are used to display an image/sprite on the screen. The sprite should rotate to always point towards the cursor's location.
Here is the zipped 'source code'
See also this article, by Seb Lee-Delisle.