Your browser does not support HTML5 canvas.

HTML5 Canvas - generating and copying from a sprite sheet

rectangleworld.com