Here’s what is possible to code in HTML5 with animation and sound: http://www.effectgames.com/demos/canvascycle/
The guy named Joe rendered a full 8-bit color cycling engine into an HTML5 Canvas in real-time. The color cycling engine is already compatible with most of web-browsers except Internet Explorer 6, 7, 8 (IE9 is OK), but that can be fixed with Google Chrome Frame. Description and source code of this beauty is here.
Artwork is by Mark J. Ferrari.