Skip to content

Conversation

@wouterlucas
Copy link
Contributor

Throttle RAF by targetFPS for smoother animations.

This effectively caps all rendering, instead of the old PR #605 that capped only animations. The animations route led to glitchy animations as the progress and left over frametime went out of sync.

By capping the entire upload loop everything neatly aligns and the system will not cross the desired targetFPS.

Demo:

Screen.Recording.2025-06-30.at.22.25.57.mov

@wouterlucas wouterlucas merged commit e154d37 into v2 Jun 30, 2025
2 checks passed
@wouterlucas wouterlucas deleted the feat/targetfps branch June 30, 2025 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants