1.0.0 • Published 6 years ago
eaaase v1.0.0
Eaaase
Some ease functions
How to use
You can download the index.js and add it to your project, or:
npm install eaaasethen
import Ease from 'eaaase'
// or
const Ease = require('eaaase')
Ease.linear(currentTime, from, to, duration)Example
Example using canvas 2d and easeInCubic function.
Functions
- linear : no easing, no acceleration
- quadratic
- cubic
- quartic
- quintic
- sine
- expo
- circular
- back
- bounce
- elastic
Inspired from http://gizma.com/easing/
