AnimationFrames
A wrapper for requestAnimationFrame with FPS control and frame metrics
AnimationFrames
provides a declarative API over the browser's requestAnimationFrame
,
offering FPS limiting capabilities and frame metrics while handling cleanup automatically.
Demo
Frames: 0 FPS: 0 Delta: 0ms
FPS limit: 10
Mouse sprite extracted from Animal Well