Use browser's native render hook. As described at http://package.elm-lang.org/packages/elm-lang/core/5.1.1/Time#everyTime.every is not the ideal way to achieve smooth animations. The AnimationFrame package provides a hook to the browser's requestAnimationFrame function.
Use browser's native render hook. As described at http://package.elm-lang.org/packages/elm-lang/core/5.1.1/Time#every
Time.every
is not the ideal way to achieve smooth animations. The AnimationFrame package provides a hook to the browser'srequestAnimationFrame
function.