Easing runs on both Node.js and ECMAScript 2015 (ES6) compliant browsers.
We provide a version without a link to the parent library (without this). Thus, you can include it in your own library.
This README isn't a tutorial on Easing equations. If you need to understand what are the Easing equations, you can refer here.
const Easing = ;// t: current time, b: beginning value, c: change in value, d: durationconst val = Easing;
const val = Easing;
This library implements the following equations:
linear swing easeInSine easeOutSine easeInOutSine easeInQuad easeOutQuad easeInOutQuad easeInCubic easeOutCubic easeInOutCubic easeInQuart easeOutQuart easeInOutQuart easeInQuint easeOutQuint easeInOutQuint easeInExpo easeOutExpo easeInOutExpo easeInCirc easeOutCirc easeInOutCirc easeInBack easeOutBack easeInOutBack easeInElastic easeOutElastic easeInOutElastic easeInBounce easeOutBounce easeInOutBounce