ezease
TypeScript icon, indicating that this package has built-in type declarations

0.5.5 • Public • Published

ezease.js

Migrated easing-js library to typescript and added to npm.

See https://github.com/danro/easing-js for the original library Generic set of easing functions with AMD support. Examples:

import { swingFromTo } from 'ezease';
 
swingFromTo(.6);
// OR
import * as ezease from 'ezease';
// OR
import ezease from 'ezease';
ezease.easeTo(.5);

Easing Shortcuts

swingFromTo
swingFrom
swingTo
easeFromTo
easeFrom
easeTo
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
bounce
bouncePast
elastic

MIT License

Based on the original Robert Penner equations, and ported over from Jeremy Kahn's Shifty easing methods.

This code may be freely distributed under the MIT license. http://danro.mit-license.org/

Readme

Keywords

Package Sidebar

Install

npm i ezease

Weekly Downloads

1

Version

0.5.5

License

none

Last publish

Collaborators

  • btesser