A simple clock with js

This is the first scriptbased hype-document I made. It is an analog clock. Hope, it is an inspiration for others. It may be solved easier, though, I don’t know.

The file: time.hype.zip (27.7 KB)

The result: https://100pro.ch/timeclock/

zeitinit() is initiated for the first time from the element ziffernblatt which as an action on enter viewport. this function also sets the values for the day and date display. This is not reinitiated therefore one has to reload the page in order to get the new date of the next day. I may improve this in an update. Or you can try yourself :slight_smile:

5 Likes