Crystal Chen P2-visualizing time

Link:    https://www.openprocessing.org/sketch/609490

The central idea of my clock is to use the change of color to present passing time. The top, thinnest arc presents seconds; it goes through every color per minute. The middle arc presents minutes, which goes through all the color per hour. And the bottom arc presents hours, going through all the color per day (24 hours). The change of their color is in the same order of colors of rainbow.

Here’s my rainbow at different time.

At 4:37:01 AM                                                                                                                                    

8:37:16AM   12:37:16 PM

04:05:38 PM

 

Nowadays, the most common way to present time is by using digits, so I was thinking about what can also be presented by digits, and this is how I came up with my idea to use color presenting time.

The most difficult part of this project is how to code the change of color. I did a research on RGB colors of a rainbow, and summarized a pattern as shown in the picture below (my draft). At different phases of time, each element of RGB color have different values, and they may be changing or fixed. So in my coding, I use boolean to separate each phase, and if statements to control the value of element of colors.