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

requestAnimationFrame() ticks faster than intended on displays with above 60hz #1294

Open
0x5066 opened this issue Jan 12, 2025 · 0 comments

Comments

@0x5066
Copy link
Contributor

0x5066 commented Jan 12, 2025

The visualizer depends on requestAnimationFrame() which does not allow to specify a set tickrate to avoid potentially running too fast than is really intended.

https://stackoverflow.com/questions/19764018/controlling-fps-with-requestanimationframe

The answer provides a way to control this and should not exceed the maximum framerate the device is able to produce (such as when in low power mode)

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

No branches or pull requests

1 participant