Yours isn't setup right. 12 should be FF in the left column, while 59 should be FF in the other two. Right now it's noon, and the screen is almost black.
If you're really good, red will be broken up into 60 units instead of 12 by reading from both the hours and the minutes.
This clock's representation bothers me because it changes color VERY quickly -- My version goes through the entire spectrum over a 24-hour period (with hours being very distinct colors), while this one goes from green to blue to red to purple over the span of a few minutes.
#RRGGBB in hex. The first two digits represent red, second two green, third two blue. The hex values normally go from 00 to FF (where FF converts to 255 in decimal).
So if you see #11:00:00 it's going to be a dark red color.
#01:59:00 would be a medium green with a hint of red in there.
I don't think it's quite that simple. 23:56:59 to 23:57:00 went from garish pink to bright yellow in one step. Unfortunately, it's hard to dissect what is actually going on since it was created as a flash movie.
Would be fun to recreate it using javascript. Perhaps I have a minor project for tomorrow anyway...
56 comments
Just recreated this in js: http://d62.net/demos/js/hex_clock.html
just looked at the dupes for this entry and found other redditor attempts:
http://colourclock.codefocus.ca/ and http://pseudony.ms/colorclock.html
i think my code is a bit easier to read
Came to reddit to post my attempt, and there is already 3? good work!
Here it is anyway: http://bengoarocandio.com/clock/
But but but then it isn't a Mac only thing....
What was Mac only about the Flash version?
Yours isn't setup right. 12 should be FF in the left column, while 59 should be FF in the other two. Right now it's noon, and the screen is almost black.
If you're really good, red will be broken up into 60 units instead of 12 by reading from both the hours and the minutes.
I did a similar project last fall:
http://dm.lcc.gatech.edu/~mazalek/courses/fall10/lcc6310/code/P1/Keslensky_P1/
This clock's representation bothers me because it changes color VERY quickly -- My version goes through the entire spectrum over a 24-hour period (with hours being very distinct colors), while this one goes from green to blue to red to purple over the span of a few minutes.
I can't wait for #FFAA44 o'clock!
damn - I'm blue minutes late
Pretty damn awesome.
Just dl'd it for my mac screensaver.
And idea exactly how the time corresponds to the hex?
I'd like to be able to read the time from just the code.
#RRGGBB in hex. The first two digits represent red, second two green, third two blue. The hex values normally go from 00 to FF (where FF converts to 255 in decimal).
So if you see #11:00:00 it's going to be a dark red color. #01:59:00 would be a medium green with a hint of red in there.
I don't think it's quite that simple. 23:56:59 to 23:57:00 went from garish pink to bright yellow in one step. Unfortunately, it's hard to dissect what is actually going on since it was created as a flash movie.
Would be fun to recreate it using javascript. Perhaps I have a minor project for tomorrow anyway...
Ahhh ok thanks.
Now to learn to convert that to decimal to hex.
;-;
Looks like you can see the converted hex by clicking the block directly below the right side of the clock.
Thing I'm trying to work out is:
What'll 1 be in hex? Kinda thing.
Careful, the screen saver takes a LOT of cpu (~70-80% on my Macbook Pro).
Not really saving energy.
The point of a screensaver is not to save energy but to save burn-in on your screen.
you don't want a screensaver, you want to power off the screen
S'not really a problem.
Duly noted though, thanks.
Not sure how the code works but if you sit and watch it for long enough you might figure it out ;)
Definitely awesome though, just set it as my screensaver too.
I like it, but I don't understand it.
Shouldn't a screensaver move around and not repeats itself... so it saves your screen?
the ever so slight shift in pixel color does the same job.
You don't think there'd be a shadow of the White numbers if you left it long enough?
Deleted before we saved it.
I want this as a watch. I would never know what time it was, but it would be cool to have a color changing watch.
I wish you'd got here sooner.
It's ashame they don't have a Windows version of this as a screensaver.
Download mac version, unrar then use instantstorm to create a windows version. Simples, as the meerkat says.
I'll try this out in a bit, thanks.
Thanks, puffy. I had no idea this could be done.
Then the design crowd wouldn't have something to hang over your head.
I forgot, the design crowd ONLY uses Macs. I've always done it wrong.
This makes me ask the question is a program that is written for the Mac platform, using flash no less, not available for other platforms?
Simple: The developer doesn't own any computers to test on that aren't Macs.
Great concept but I would have liked it if they had converted hex to dec, for a more full range of colors!
Color me impressed.
Deleted before we saved it.
How does it actually work? Hours - Red, Minutes - Green, Seconds - Blue?
very cool, i like it :p
Looks like I have a new screensaver!
that's awesome!