Simple example of HTML5 Canvas animation