1.0.0 • Published 4 years ago

eaaase v1.0.0

Weekly downloads
10
License
MIT
Repository
github
Last release
4 years ago

Eaaase

NPM

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/

1.0.0

4 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago