Homework: Clock

The concept I moved to create is based on a clock my parents have had since I was a kid, which I have always loved. It sits in a long metal cylinder, the face has no numbers, only a thin black thread at 12, 3, 6, and 9 o’clock. The seconds hand was a circle that would float around the outer periphery, while everything is semi-transparent, and changes in hue as the seconds hand rotates around the clock.

While I’m glad I was able to get my concept as far as I did, I ran into some problems smoothing out the movement of the seconds hand to appear more gradual than in second-long increments. I attempted to do this by adding milliseconds to each of the 30 frames per second, but for a reason I was unable to decipher after hours of trying and repeated fruitless attempts, Processing continued to increment the movement in seconds. I have commented the specific problematic lines of code in the sketch.

Raw code:

http://a.parsons.edu/~kopla138/data-viz/hw/wk3/clock_v1.pde

.zipped file:

http://a.parsons.edu/~kopla138/data-viz/hw/wk3/clock_v1.zip

This entry was posted in Homework. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *