• Austin ValleskeyAustin Valleskey, over 9 years ago

    Very clever! Would love to see this as a screensaver for Mac.

    4 points
    • Bryce DriesengaBryce Driesenga, over 9 years ago

      Looks like this similar site they link to has a screensaver! -- http://thecolourclock.co.uk/

      0 points
      • Spencer BombermanSpencer Bomberman, over 9 years ago

        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:


        I think the algorithm is mixed up, mapping hours to green and minutes to red?

        0 points
        • frank kolodziejfrank kolodziej, over 9 years ago

          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?

          0 points
    • Matthew R. MillerMatthew R. Miller, over 9 years ago (edited over 9 years ago )

      You can download websaver and use the webpage as your screen saver. It's working great for me!

      1 point