Creating a self-correcting alternative to JavaScript's setInterval
andrewduthie.com