Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

easing-functions

kaelzhang1.8kMIT1.0.1

Robert Penner's easing functions

easing, functions, equations, robert, penner, animation

readme

easin

Robert Penner's easing functions from phaser.

Install

$ npm i easing-functions

Usage

import Easing from 'easing-functions'

const QO = Easing.Quadratic.Out

Easing.<type>.<output>(x)

type \ output In Out InOut None
Linear x x x
Quadratic x
Cubic x
Quartic x
Quintic x
Sinusoidal x
Exponential x
Circular x
Elastic x
Back x
Bounce x

License

The MIT License

  • (c) 2014 Phaser.io