The compination of css and javascript programming is incredible! Java or Flash animation can be easily be done using javascript programming. The client side programming architecture has many advantages for powerful animations. We just proposed to read these article of how we can drawing canvas in javascript from the mozila developers site and take a look the demo below.
https://developer.mozilla.org/en/Drawing_Graphics_with_Canvas
http://billmill.org/static/canvastutorial/

