requestAnimationFrame()

as an example of newer support for high-performance, high-stability
timing.
Link to regenerator
Scaffolding for rest of chapter on generators