this started out with using JQuery to animate the background of my website. the squares are all <div>s that are rendered with JQuery, then their colors are 'tweaked' to be a random shade between the background color of the body element, and the background color of the #effects <div>. this was a demo testbed for that effect. i've since added the ability to choose the two colors that the squares will change between.
i've written a quick article on how i do the rendering and animation of the squares.
since i'm mathematically determining a color "between" the foreground and background colors, unpredictable results may occur if you choose something weird. caveat emptor.
did i mention that i freelance?
i like to do clever things. feel free to contact me.
- mike (mike@squaredesign.com)