elm-lang / animation-frame

Somewhat low-level API for getting smoother animations with requestAnimationFrame

Home Page:http://package.elm-lang.org/packages/elm-lang/animation-frame/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Somewhat low-level API for getting smoother animations with requestAnimationFrame

http://package.elm-lang.org/packages/elm-lang/animation-frame/latest

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Elm 87.1%Language:JavaScript 12.9%