Extension · Mecha CMS

Add extra functionality to the core engine.

Easing Equation

Author: Taufik Nurrohman · 392 Views

Tweet

A collection of swappable functions that add flavor to motion.

Table of Content

Download Development Version

1

Add easing equation properties by Robert Penner to the JavaScript Math function.

Math.ease;
Math.easeIn;
Math.easeOut;
Math.easeInOut;
Math.easeInQuad;
Math.easeOutQuad;
Math.easeInOutQuad;
Math.easeInCubic;
Math.easeOutCubic;
Math.easeInOutCubic;
Math.easeInQuart;
Math.easeOutQuart;
Math.easeInOutQuart;
Math.easeInQuint;
Math.easeOutQuint;
Math.easeInOutQuint;
Math.easeInSine;
Math.easeOutSine;
Math.easeInOutSine;
Math.easeInExpo;
Math.easeOutExpo;
Math.easeInOutExpo;
Math.easeInCirc;
Math.easeOutCirc;
Math.easeInOutCirc;
Math.easeInElastic;
Math.easeOutElastic;
Math.easeInOutElastic;
Math.easeInBack;
Math.easeOutBack;
Math.easeInOutBack;
Math.easeInBounce;
Math.easeOutBounce;
Math.easeInOutBounce;
ParameterDescription
tThe current frame of the animation.
bStarting point.
cChange in value.
dThe total number of frames (duration).

Dependency 

Extension