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

Support for more than 60 FPS #8

Closed
FoxelFox opened this issue Oct 8, 2019 · 4 comments
Closed

Support for more than 60 FPS #8

FoxelFox opened this issue Oct 8, 2019 · 4 comments

Comments

@FoxelFox
Copy link

FoxelFox commented Oct 8, 2019

The Chart Y-Axis and colors should be based on Display refresh rate.

image

From what i know it is not possible to get the browsers refresh rate yet. The only solution would be to measure the time between requestAnimationFrame Calls.

@munrocket
Copy link
Owner

Thanks for feedback and first issue! I need to figure out best solution for this problem. Look like it is possible to start rAF loop before initialization and close it after 3 frames to get maximum. Also we can achieve 200+FPS on any PC where we off vsync in browser.

@munrocket
Copy link
Owner

munrocket commented Oct 8, 2019

@FoxelFox check please.

@FoxelFox
Copy link
Author

FoxelFox commented Oct 9, 2019

@munrocket looks good on a 144Hz Display
image

@munrocket
Copy link
Owner

Nice.

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

2 participants