Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functionality for graceful re-timing of animations for different display refresh rates. #18

Open
xorgy opened this issue Sep 14, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@xorgy
Copy link
Member

xorgy commented Sep 14, 2024

Many animations are not highly sensitive to timing, and would look better if the sequence was subtly adjusted to match the display device. We should add functions to coalesce and stretch sequences. e.g. an animation with a fixed 24fps time base, rendering to a display device at 119.880 Hz (1000/1001 × 120 Hz) should actually be rendered at the equivalent 23.976 rate; or an animation with a fixed 29.97 fps (1000/1001 × 30 Hz) time base rendered to a 90Hz display device should be played 1‰ faster.

@xorgy xorgy modified the milestone: Interpoli Compose Sep 14, 2024
@waywardmonkeys
Copy link
Collaborator

That might be tricky since I'm not sure we even have that info all the time / everywhere.

cc: @DJMcNab

@xorgy
Copy link
Member Author

xorgy commented Sep 14, 2024

This is applicable to environments with managed time (e.g. a broadcast compositor like OBS) in its basic form; but yes, we would need more functionality to do adjustment for unstable/variable/uncertain output devices like we tend to have on desktop (to correctly adjust partial sequences).

@xorgy xorgy added the enhancement New feature or request label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants