Easing library with support for Human Readable Easing Equations
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
ease.js

README.md

DEMO

Usage

var value = ease(t, easing);

t is time from 0.0 to 1.0

Standard easing equations

var value = ease(0.25, "inOutBounce");

Human readable easing notation

See explanation

var value = ease(0.25, "0149");

Global scope

If you don't like global scope pollution just skip to the end of file and replace this line with whatever suits you:

window.ease = ease;

Just the equations

If you are looking for one argument equations - well you found them.