[A heck of a demo to start off your monday morning.][link] Comes in an LGPL 3 package of C++ and JS code.
[link]: http://www.effectgames.com/effect/article.psp.html/joe/Old_School_Color_Cycling_with_HTML5 “Old School Color Cycling with HTML5 | EffectGames.com”