AnimationFrame
Docs / Source Code
Launches an animation frame with a specified FPS, allowing control over playback and FPS calculations in real-time.
With `auto` fps
- props.fps = auto
- .computedFPS = 60
- .fpsMultiplier = 1.00
- time = 1
With `fps=30`
- props.fps = 30
- .computedFPS = 30
- .fpsMultiplier = 2.00
- time = 2
With adaptive FPS
Resize the window to see changes in fps
- props.fps = 120
- .computedFPS = 120
- .fpsMultiplier = 0.50
- time = 3