We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi,
I've developed What color is it?, a clock that shows time in colors, in Processing.js a couple of days ago: http://whatcolorisit.sumbioun.com/
The project is derived from whatcolourisit.scn9a.org, a clock that plots time as an hexadecimal value to change the color of the background. I thought it might be more interesting to develop an algorithm to cover the entire spectrum in 24 hours, changing luminosity according to variations of day and nighttime.
Using three sine functions, the code translates the time of day into a RGB hue value, covering the entire spectrum in 24 hours. At daytime and nighttime, another sine function modulates the luminosity, so the color is modified accordingly. A fifth function modulates the current color to provide variations every second, altering the saturation and hue, since the previous sine functions are not enough to provide values for changing colors every second of the day.
The project is open source; its code can be accessed here: https://github.com/sumbioun/whatcolorisit
Hope you like it.
Comments
I think it would be cool as a desktop background.
This video shows 24 hours processed with this software condensed in 2 minutes:
http://www.youtube.com/embed/O7VlmEJnwB0
clankill3r it would surely be interesting as a desktop background; a screensaver also could be cool