/easing-js

Generic set of easing functions with AMD support.

Primary LanguageJavaScriptOtherNOASSERTION

easing.js

Generic set of easing functions with AMD support. Examples:

  • Morpheus morpheus.easings = require('easing');
  • jQuery $.extend($.easing, window.easing);

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/