Unconventional Clock

About

Using code in p5.js, I created Unconventional Clock, which is a clock in the form of a flower. The center of the flower represents seconds. For each second that goes by, the center of the flower changes color (the change in color is very gradual). In the start of the minute, the center is a light green color and by the end of the minute, it is a shade of dark brown. When a minute goes by, a petal is added to the flower and the color of the center resets to light green. The first petal represents the first minute of the hour, second petal represents the second minute of the hour, and so on. When sixty minutes are completed, the petals reset so that there is only one petal visible. Additionally, a thorn grows to represent the hour. During the twenty-fourth hour of the day, there should be a total of twenty-four petals on the stem of the flower. At midnight, the entire clock resets for the next day (light green center, one visible petal, and one visible thorn).