Simple & beautiful. Small criticism: Why Flash?
Anyone feeling up to the challenge?
11–20 of 95 posts
Simple & beautiful. Small criticism: Why Flash?
Anyone feeling up to the challenge?
Simple & beautiful. Small criticism: Why Flash?
Or, at least, that's the only thing I see there that you can't do with HTML/JS.
The hex clock seems to jump every once in a while, probably compensating for the large difference in the number of hexadecimal color values and seconds in a 24 hour day. How are the color values related to the seconds here?
Though the colours I'm getting are different. I wonder why.
Any color blind out there care to comment?
Simple & beautiful. Small criticism: Why Flash?
It should be simple enough to implement in HTML - it looks like it's just doing (seconds since midnight × 16777215 / 86400), converting to hex and using that as a colour. Toggling between "clock" and "colour" mode would be a bit more difficult, but doable. Anyone feeling up to the challenge?
edit: Hours corrected. Thanks wladimir
Earlier quoted context omitted.
It should be simple enough to implement in HTML - it looks like it's just doing (seconds since midnight × 16777215 / 86400), converting to hex and using that as a colour. Toggling between "clock" and "colour" mode would be a bit more difficult, but doable. Anyone feeling up to the challenge?
Here's my attempt: http://brisy.info/colors It treats each section of the time as a hex pair, see colors.js for implementation. edit: Hours corrected. Thanks wladimir
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.
body.animate({"background-color":
"rgb(" + parseInt((h / 60) * 255) + "," +
parseInt((m / 60) * 255) + "," +
parseInt((s / 60) * 255) + ")"});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.
... perhaps because it should be h / 24 instead of h / 60 ? body.animate({"background-color": "rgb(" + parseInt((h / 60) * 255) + "," + parseInt((m / 60) * 255) + "," + parseInt((s / 60) * 255) + ")"});