I made a watchface for the Pebble smartwatch
It lives on GitHub here: GotTheTime
Share and enjoy!
Chromatime is a mapping of time to color for a very pretty, but imprecise, way of telling time. Instead of worrying about the exact time, you can tell at a glance the general time of day. For example, I know it's time to go to lunch when it’s yellow-orange. Or, if it's blue-green, I know it's time to go home.
Tim Tresch and I came up with this method of telling time. I implemented (or modified) all the code below based on our original idea and color indicies. The color is based on the current time and interpolated for values between the indicies. See the algorithm.txt file for details. The index colors are listed here.
Time Red Green Blue Time Red Green Blue 01:30 0.0 0.0 0.5 13:30 1.0 1.0 0.0 04:30 0.0 0.0 0.0 16:30 0.0 1.0 0.0 07:30 1.0 0.0 0.0 19:30 0.0 0.5 1.0 10:30 1.0 0.5 0.0 22:30 0.0 0.0 1.0
I have an implementation of quicksort that will handle duplicate keys. Because I couldn't find an implementation on the web anywhere, I had to come up with one. So, I thought I'd offer the solution back into the public domain so others don't have to look so hard.
I have some misc scripts in a repository on Github.