This demo uses your browser's native requestAnimationFrame support, if present.
requestAnimationFrame