Skip to content

jkbockstael/colorclock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Colorclock - a JavaScript partial reimplementation of http:https://thecolourclock.co.uk/ (by Jack Hughes)
2012, Jean-Karim Bockstael <jkb@jkbockstael>

See it live at http:https://files.jkbockstael.be/code/colorclock/

This is a partial reimplementation of Jack Hughes' color clock, it displays the current time and interprets it as a color so you get a nice full-screen clock which is the color of the current time. Watch the color change as the day goes on, watch it pulse through each blue value each minute, drool over it, clone it, fork it, modify it and play with it.

Time can be displayed in decimal or hexadecimal notations. I've choosen to have the hexadecimal display mode display the actual time instead of the associated color value, as you can already see the associated color value.

There's also a dark mode, inspired by Jacopo Colò's hex clock (http:https://www.jacopocolo.com/hexclock), in which instead of the full color range we use the time values as color values as is, which gives a very subtle change in an ever-dark color palette.

Just click anywhere in the page to cycle through the display modes.

The source code should be clear enough for anyone to understand and modify, if it's not then deal with it.

Enjoy!

About

A JavaScript partial reimplementation of http:https://thecolourclock.co.uk/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published