Hacker News new | ask | show | jobs
by Wowfunhappy 967 days ago
> Aren't CSS animations capped at 60, same as requestAnimationFrame?

Did some quick Googling to make sure I wasn't just out of the loop on this, as far as I can tell they are not the same: https://github.com/whatwg/html/issues/5025

1 comments

Can you point me to the part confirming your claim? If anything, it's confirming mine that they both are stuck at 60 Hz.
The link says:

> As such, on their 120hz devices, requestAnimationFrame is throttled to 60hz, whereas CSS animations run at 120hz.

Please let me know if I am misunderstanding, it has been a few years since I've done this type of work.

I just tested this and you are right. Thanks