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

[SUGGESTION] Configurable frame rate for Animations #60

Open
ghost opened this issue Feb 5, 2016 · 3 comments
Open

[SUGGESTION] Configurable frame rate for Animations #60

ghost opened this issue Feb 5, 2016 · 3 comments
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Feb 5, 2016

Frame rate for Animations must be configurable in 2.0. It should not kill the browser with 60fps all the time. Developers should be able to set the frame rate of the animated scene.

@thothbot
Copy link
Owner

thothbot commented Feb 5, 2016

We use requestAnimationFrame for this, do you have any issues in browser?

@ghost
Copy link
Author

ghost commented Feb 5, 2016

Consider multiple animations on a single page. requestAnimationFrame kicks in every 16 milliseconds (60 frames per second). That may choke the browser/machine if there are multiple separate animations running on the same page. You may put some sort of fps controller. I think there are some made in javascript as a library out there.

@thothbot
Copy link
Owner

thothbot commented Feb 5, 2016

I see, we need to test it for multiple frames, I'll add to dev plan

@thothbot thothbot added bug and removed question labels Feb 5, 2016
@thothbot thothbot added this to the ver 2.0 milestone Feb 5, 2016
@thothbot thothbot self-assigned this Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant