A very simple JavaScript clock that uses requestAnimationFrame rather than setInterval to perform the animations.