Inspired by the JavaScript clock I've created a countdown timer. As with the clock, it's a JavaScript module and it's rendered here using a 7-segment font

This version also includes a simple event model: start, stop, paused, resumed, and expired.


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!