I created this clock using the p5 JavaScript Library to show how my mind is always going back and forth between  New York and Abu Dhabi time. There are two circles in the center. One increases by the hour, and the other increases every second. I used modulo math to toggle from New York to Abu Dhabi every second. The code is available on CodePen.


Screen Shot 2016-02-16 at 6.09.38 PM

Screen Shot 2016-02-16 at 5.57.20 PM