You can support the development on the Github Sponsors page.


Tech > WALL CLOCK (ANALOGUE CLOCK)


made by steve-tea
uploaded by stevet
added:
download cartridge
- CLICK TO PLAY -

0


A wall clock (aka analogue clock) written in JavaScript. It uses the JavaScript Date methods for UTC Hour, Minute, Second and Milliseconds. Math.sin and Math.cos are used for positioning the clock face numbers and the hands. Just for fun I added a mode where you can move the hour and minute hands, notice how the hour hand moves slightly as you move the minute hand. Enjoy and feel free to use in your projects. - steve-tea


Post comment