Designer News
Where the design community meets.
over 9 years ago from William Hutter, Azuweb
Looks like this similar site they link to has a screensaver! -- http://thecolourclock.co.uk/
I do not understand how the time maps to colors. Supposedly, hours = red, minutes = green, and seconds = blue, but that does not explain this at all:
http://i.imgur.com/0N4166b.png
I think the algorithm is mixed up, mapping hours to green and minutes to red?
The linked site is straight-mapping the time to hex. So 15:52:04 becomes #155204. So the r will never go above 23, and the g/b will max at 59 (because it starts at 0). That excludes quite a bit of the 16.7 million possible colors.
Another way to do it, which the Flash version might be doing, is taking the h, m, or s, getting a percentage of that value based on its max value, like 15 / 23 = 0.652, then multiplying that by 255 (the total number of color values per r, g, or b), which, if you did it for all three, would be rgb(166,225,17), or #A6E111.
Or maybe they’re not mapping to rgb, but rather something like HSL?
You can download websaver and use the webpage as your screen saver. It's working great for me!
Sweet! Thanks!
Designer News
Where the design community meets.
Designer News is a large, global community of people working or interested in design and technology.
Have feedback?
Very clever! Would love to see this as a screensaver for Mac.