Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think that’s what they were suggesting with

> If I were doing it all over again, I'd probably use RAF with window.performance

Since RAF doesn’t give a guaranteed framerate you’d need to use metrics from window.performance to make the animation framerate-independent, or people on different browsers or devices could see the animation at different speeds.



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: