UX

JavaScript

Smooth JavaScript animations with requestAnimationFrame

JavaScript animations are usually slow and jumpy, but we can animate just about anything and make it buttery smooth by using animation frames to invoke UI changes only once per frame.

Read