Skip to content

The iconic clock of the SBB (Swiss Federal Railways) whose second hand rotates in just 58.5 seconds!

License

Notifications You must be signed in to change notification settings

bariod/SBB-railway-clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SBB railway clock

The iconic clock of the SBB (Swiss Federal Railways) implemented in HTML and JavaScript using CanvasRenderingContext2D.

The second hand fully rotates in just 58.5 seconds and waits at the top until the 60 seconds have passed.

It gets updated every 10ms - because 100FPS should be smooth enough.

Feel free to adjust the canvas size and the tick interval!

The rendered clock

About

The iconic clock of the SBB (Swiss Federal Railways) whose second hand rotates in just 58.5 seconds!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages