jblog
toc

JClock IV

2015-08-08, post № 53

programming, Pygame, Python, #alternative, #arc, #around the center, #background, #clock, #clockface, #displaying time, #draw, #rgb, #rgb clock, #rgbw, #spawn time, #time, #time display, #time reading

Combining the built-in Pygame function pygame.draw.arc() with time, I came up with this alternative clock design.
The red arc represents hours, the green one minutes, the blue seconds and the white arc represents centiseconds (a hundredth of a second).
Although it is a clock, you read it anti-clockwise.

jclock-iv-2.png
Source code: jclock-iv.py
Extra assets: jclock-iv-1.png