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

Request Animation Frame Fallback using setTimeout Accuracy" #607

Open
4 tasks done
Shiivvani opened this issue Aug 8, 2023 · 1 comment
Open
4 tasks done

Request Animation Frame Fallback using setTimeout Accuracy" #607

Shiivvani opened this issue Aug 8, 2023 · 1 comment

Comments

@Shiivvani
Copy link

Description

The current implementation of the animation frame fallback using setTimeout in the provided code snippet might lead to timing inaccuracies for achieving smooth 60 frames per second (FPS) animations. The value 1e3 / 60 (approximately 16.666... milliseconds) is used for setTimeout, which is very close to the ideal 1000 / 60 (16.67 milliseconds), but it's not precisely accurate.

Screenshots

No response

Additional information

No response

What browser are you seeing the problem on?

No response

Checklist

@github-actions
Copy link

github-actions bot commented Aug 8, 2023

Hello👋 @Shiivvani, I hope you are doing well!
Thank you for raising an issue. We will will investigate into the issue and get back to you as soon as possible. Please make sure you have given us as much context as possible.
Feel free to join the community and collaborate ❤
Join our Discord Community here and make sure to STAR the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant