Developped to be used with really old browsers and with or without module bundler.
Fast & ~1kb gzipped
Example using canvas 2d and easeInCubic function.
npm install eaaase
import Ease from "eaaase";
// or
const Ease = require("eaaase");
Ease.linear(currentTime, from, to, duration);
})
- linear : no easing, no acceleration
- quadratic
- cubic
- quartic
- quintic
- sine
- expo
- circular
- back
- bounce
- elastic
Inspired from http://gizma.com/easing/