Projects

00:00

A long time ago I wrote a simple Javascript clock. It made use of the technology of the day and was clumsy by modern standards, right down to the 7-segment GIF images used to render it.

Things have moved on, so here is a rather better Clock, implemented as a JavaScript module, and rendered using your choice of font. This means that you can render it at any size, and in any font you wish (I've used a seven-segment font, link below). I've also added some options to control the format of the clock that can be used at initialisation, or on-the-fly. Enjoy!