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.

Your browser does not support the HTML5 canvas tag.