es6-easing

Robert Penner's easing equations as an ES6 module


Keywords
easing, equations, es6, easing-functions, javascript
License
BSD-3-Clause
Install
npm install es6-easing@1.0.1

Documentation

es6-easing

Robert Penner's easing functions as an ES6 module.
Forked from https://github.com/danro/easing-js/blob/master/easing.js

Installation and usage

npm install es6-easing

Then import the easing function you need...

import { easeInQuadOutQuint } from 'es6-easing';

Easing functions

easeInQuad
easeOutQuad
easeInOutQuad
easeInCubic
easeOutCubic
easeInOutCubic
easeInQuart
easeOutQuart
easeInOutQuart
easeInQuint
easeOutQuint
easeInOutQuint
easeInSine
easeOutSine
easeInOutSine
easeInExpo
easeOutExpo
easeInOutExpo
easeInCirc
easeOutCirc
easeInOutCirc
easeOutBounce
easeInBack
easeOutBack
easeInOutBack
elastic
swingFromTo
swingFrom
swingTo
bounce
bouncePast
easeFromTo
easeFrom
easeTo

Extra Easing function

these 2 extras are a mix to give a stronger ease out than in
easeInQuadOutQuint easeInQuadOutExpo