|
What the hell is it? This page began as a test to see whether I could use JavaScript to fade from any color to any other color. This was originally intended for use on the page that holds many of the amusing quotes from the office I work in. Once that step was completed, I changed the way the "brain" on my home page worked. Originally, it would randomly pick a color from those available in the theme the user had specified, but I always wished it could smoothly transition between the colors. After I updated the site, I wondered if I could make a JavaScript widget that would just cycle through various color shades beautifully and smoothly, and that's where this page comes in. I think it came out rather nicely.
How does it work? On fast computers, 64 color variations are used for each transition, and this scales down to a mere 24 variations on slower machines, since the color calculations are pretty CPU-intensive. |