3 ms·
What about using normal RAF and slowing the animation itself down to match the original GIF as best as possible?
by exikyut 7y ago
What about using normal RAF and slowing the animation itself down to match the original GIF as best as possible?
- bathtub365 7y agoI 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.