Sprite animation example using HTML5 Canvas.