Hacker News new | ask | show | jobs
by enoj 2404 days ago
No, for a project I am working on using three.js with requestAnimationFrame, it is capped at the refresh rate the monitor is running on.

So my gaming monitor running 144hz at 1080p runs the application at 144 FPS according to my FPS counter from stats.js[0]

On my laptop running at 60hz it's capped at 60 FPS. There is a huge difference in the "smooth-ness" as well as reduced input lag on the 144hz vs 60hz monitors. So much that I currently dislike working on the app on <100hz monitors.

[0] - https://github.com/mrdoob/stats.js/

1 comments

That's good to know, might have to try it again. Especially now that shared buffers and atomics are available in web workers.