Html 5 alternative to Adobe Flash?

Since HTML5 replaces flash and unlike flash is now implemented into many mobile devices, what software for animation cretion can be used for html5 animation?