A JavaScript demo that uses `requestAnimationFrame` for canvas-based animation.