Re:The Colour Clock
by bkrausz on Friday February 25, 2011 @02:51AM
(#2261427)
Haha, I just did the same thing: http://nerdlife.net/colorclock.html
[ Parent
| on HN ]
Re:The Colour Clock
by kaichanvong on Friday February 25, 2011 @04:42AM
(#2261667)
Guys, get these on github. That way we can fork it & make it awesome as a team faster and better.
https://github.com/adamburmister/colour-clock
HTML5, CSS3, webfonts, and jQuery
Re:The Colour Clock
by kaichanvong on Friday February 25, 2011 @06:14AM
(#2261814)
Similar pull request sent to you too! :)
Behind the curve here: https://github.com/kemayo/colorclock
Small bug: Single digit hex codes are showing without the leading zero - it's probably affecting the colors as well.
Fixed, thanks.
Great minds and all. If you replace the html file in the screensaver bundle you can use yours (or mine) instead of the flash one.
Instead of:
window.setInterval(frame, 1000);
Do: window.setTimeout('window.setInterval(frame, 1000)', 999-(new Date()).getMilliseconds());
That way the seconds will be properly synchronized.