eaaase

Ease

Some ease functions

Developped to be used with really old browsers and with or without module bundler.
Fast & ~1kb gzipped

Example using canvas 2d and easeInCubic function.

Install

npm install eaaase

Usage

import Ease from "eaaase";
// or
const Ease = require("eaaase");

Ease.linear(currentTime, from, to, duration);
})

Functions

Inspired from http://gizma.com/easing/