Awesome idea. I took some time to rewrite in HTML5: http://brisy.info/colors/ Though the colours I'm getting are different. I wonder why.
The Colour Clock
61–70 of 95 posts
Re: The Colour Clock
#62Awesome idea. I took some time to rewrite in HTML5: http://brisy.info/colors/ Though the colours I'm getting are different. I wonder why.
This seemed like a fun idea: Here's my remix of it, a bit more HTML5-ish: http://labs.flog.co.nz/clock/
Re: The Colour Clock
#63Earlier quoted context omitted.
This seemed like a fun idea: Here's my remix of it, a bit more HTML5-ish: http://labs.flog.co.nz/clock/
It's a bit wonky when you use a variable-width font.
If you don't set a width then you get awkward spacing reflow when the digits change.
Re: The Colour Clock
#64Earlier quoted context omitted.
I'm on a P4 3Ghz at the moment, whereby I can hear my CPU buzzing away when its under load. On the .co.uk site the buzzing is audible, its taking >70% of the CPU, whereas on your site its nice and quiet taking just 6% of the CPU.
I can not figure out how such a simple program can manage to take up 100% of my CPU, and despite that not be in sync with my actual clock (it's a random fraction of a second off). Has he not heard of sleep(1) ? Saying "it's flash" is no excuse, flash is perfectly capable of sleeping.
Basically, sleep(1) won't always align with clock updates, so sometimes a given time will display for more or less time than a second. This can be observed by opening the clock widget on Windows XP for example, it's very noticeable. I don't actually know a nice way to do it, maybe updating 10 times per second or so?
[1] http://software.intel.com/en-us/articles/video-frame-display... - it's down right now, one of the diagrams illustrates the problem well though: http://software.intel.com/file/3984
Re: The Colour Clock
#65Re: The Colour Clock
#66Awesome idea. I took some time to rewrite in HTML5: http://brisy.info/colors/ Though the colours I'm getting are different. I wonder why.
I appreciate the pointlessness of being yet-another recreator, but hey, why not: http://davidlynch.org/toys/colorclock/ :D My quirk is that you can stick a fragment on the end to change the mapping of time to hex. e.g. http://davidlynch.org/toys/colorclock/#smh is seconds=red, minutes=green, hours=blue.
Re: The Colour Clock
#67Awesome idea. I took some time to rewrite in HTML5: http://brisy.info/colors/ Though the colours I'm getting are different. I wonder why.
Re: The Colour Clock
#68Awesome idea. I took some time to rewrite in HTML5: http://brisy.info/colors/ Though the colours I'm getting are different. I wonder why.
Re: The Colour Clock
#69Earlier quoted context omitted.
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.
Re: The Colour Clock
#70Earlier quoted context omitted.
I'm quite sure there are much more mappings from hh:mm:ss -> rgb which would be even more interesting or even practical. For sure the internet will iterate on this idea in just a few seconds :)
Yeah, HMS->HSL would be quite intriguing.