Skip to content

Instantly share code, notes, and snippets.

View clock.pde
/* clock.pde
Synchronizes an analog and digital clock with your machine's time.
Uses the observer pattern to synchronize clocks
*/
float angle = 0;
Clock clock;
Clock digital;
Publisher publisher;
You can’t perform that action at this time.