a grab-bag of modular easing equations
This is a grab-bag of Robert Penner's easing equations, most of the code from glsl-easings. Pull requests for optimizations are welcome.
//require all eases
var quadIn = require('eases').quadIn
//require only the single function
var quadIn = require('eases/quad-in')Each easing has its own file which can be required individually. The entry point also exports all eases with camelCase, so require('eases/expo-in-out') becomes require('eases').expoInOut.
Full list of eases:
…All easing functions only remap a time value, and all have the same signature.
v = ease(t)Where t is typically a value between 0 and 1, and it returns a new float that has been eased.
MIT, see LICENSE.md for details.
No open issues yet, or sync has not completed.