es6-easing
v1.0.2
Published
Robert Penner's easing equations as an ES6 module
Downloads
6,502
Readme
es6-easing
Robert Penner's easing functions as an ES6 module.
Forked from https://github.com/danro/easing-js/blob/master/easing.js
Installation and usage
npm install es6-easing
Then import the easing function you need...
import { easeInQuadOutQuint } from 'es6-easing';
Easing functions
easeInQuad
easeOutQuad
easeInOutQuad
easeInCubic
easeOutCubic
easeInOutCubic
easeInQuart
easeOutQuart
easeInOutQuart
easeInQuint
easeOutQuint
easeInOutQuint
easeInSine
easeOutSine
easeInOutSine
easeInExpo
easeOutExpo
easeInOutExpo
easeInCirc
easeOutCirc
easeInOutCirc
easeOutBounce
easeInBack
easeOutBack
easeInOutBack
elastic
swingFromTo
swingFrom
swingTo
bounce
bouncePast
easeFromTo
easeFrom
easeTo
Extra Easing function
these 2 extras are a mix to give a stronger ease out than in
easeInQuadOutQuint
easeInQuadOutExpo