eaaase
v1.0.0
Published
Some ease functions
Downloads
12
Readme
Eaaase
Some ease functions
How to use
You can download the index.js and add it to your project, or:
npm install eaaase
then
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/