animation-frame
                                
                                 animation-frame copied to clipboard
                                
                                    animation-frame copied to clipboard
                            
                            
                            
                        Somewhat low-level API for getting smoother animations with requestAnimationFrame
Getting Smooth Animations
Browsers have their own render loop, rerendering things as fast as possible. If you want smooth animations in your application, it is helpful to sync up with the browsers natural refresh rate.
This library helps you get messages in lockstep with the browser renders. This way you are not calculating too many or too few animation frames.