public static function backIn(t:Number, s:Number = 1.70158):Number
Easing equation function for a back (overshooting cubic easing: (s+1)^3 - s^2) easing in: accelerating from zero velocity.
Parameters
| t:Number — Current time/phase (0-1).
|
|
| s:Number (default = 1.70158 ) — Overshoot ammount: higher s means greater overshoot (0 produces cubic easing with no overshoot, and the default value of 1.70158 produces an overshoot of 10 percent).
|
Returns
public static function backOut(t:Number, s:Number = 1.70158):Number
Easing equation function for a back (overshooting cubic easing: (s+1)^3 - s^2) easing out: decelerating from zero velocity.
Parameters
| t:Number — Current time/phase (0-1).
|
|
| s:Number (default = 1.70158 ) — Overshoot ammount: higher s means greater overshoot (0 produces cubic easing with no overshoot, and the default value of 1.70158 produces an overshoot of 10 percent).
|
Returns
public static function bounceOut(t:Number):Number
Easing equation function for a bounce (exponentially decaying parabolic bounce) easing out: decelerating from zero velocity.
Parameters
| t:Number — Current time/phase (0-1).
|
Returns
public static function bouncIn(t:Number):Number
Easing equation function for a bounce (exponentially decaying parabolic bounce) easing in: accelerating from zero velocity.
Parameters
| t:Number — Current time/phase (0-1).
|
Returns
public static function circIn(t:Number):Number
Easing equation function for a circular (sqrt(1-t^2)) easing in: accelerating from zero velocity.
Parameters
| t:Number — Current time/phase (0-1).
|
Returns
| Number — The new value/phase (0-1).
|
public static function circOut(t:Number):Number
Easing equation function for a circular (sqrt(1-t^2)) easing out: decelerating from zero velocity.
Parameters
| t:Number — Current time/phase (0-1).
|
Returns
| Number — The new value/phase (0-1).
|
public static function combined(t:Number, __equations:Array):Number
Parameters
| t:Number |
|
| __equations:Array |
Returns
public static function cubicIn(t:Number):Number
Easing equation function for a cubic (t^3) easing in: accelerating from zero velocity.
Parameters
| t:Number — Current time/phase (0-1).
|
Returns
| Number — The new value/phase (0-1).
|
public static function cubicOut(t:Number):Number
Easing equation function for a cubic (t^3) easing out: decelerating from zero velocity.
Parameters
| t:Number — Current time/phase (0-1).
|
Returns
| Number — The new value/phase (0-1).
|
public static function elasticIn(t:Number, a:Number = 0, p:Number = 0.3):Number
Easing equation function for an elastic (exponentially decaying sine wave) easing in: accelerating from zero velocity.
Parameters
| t:Number — Current time/phase (0-1).
|
|
| a:Number (default = 0 ) — Amplitude.
|
|
| p:Number (default = 0.3 ) — Period.
|
Returns
| Number — The new value/phase (0-1).
|
public static function elasticOut(t:Number, a:Number = 0, p:Number = 0.3):Number
Easing equation function for an elastic (exponentially decaying sine wave) easing out: decelerating from zero velocity.
Parameters
| t:Number — Current time/phase (0-1).
|
|
| a:Number (default = 0 ) — Amplitude.
|
|
| p:Number (default = 0.3 ) — Period.
|
Returns
public static function expoIn(t:Number):Number
Easing equation function for an exponential (2^t) easing in: accelerating from zero velocity.
Parameters
| t:Number — Current time/phase (0-1).
|
Returns
| Number — The new value/phase (0-1).
|
public static function expoOut(t:Number):Number
Easing equation function for an exponential (2^t) easing out: decelerating from zero velocity.
Parameters
| t:Number — Current time/phase (0-1).
|
Returns
| Number — The new value/phase (0-1).
|
public static function none(t:Number):Number
Easing equation function for a simple linear tweening, with no easing.
Parameters
| t:Number — Current time/phase (0-1).
|
Returns
| Number — The new value/phase (0-1).
|
public static function quadIn(t:Number):Number
Easing equation function for a quadratic (t^2) easing in: accelerating from zero velocity.
Parameters
| t:Number — Current time/phase (0-1).
|
Returns
| Number — The new value/phase (0-1).
|
public static function quadOut(t:Number):Number
Easing equation function for a quadratic (t^2) easing out: decelerating to zero velocity.
Parameters
| t:Number — Current time/phase (0-1).
|
Returns
| Number — The new value/phase (0-1).
|
public static function quartIn(t:Number):Number
Easing equation function for a quartic (t^4) easing in: accelerating from zero velocity.
Parameters
| t:Number — Current time/phase (0-1).
|
Returns
| Number — The new value/phase (0-1).
|
public static function quartOut(t:Number):Number
Easing equation function for a quartic (t^4) easing out: decelerating from zero velocity.
Parameters
| t:Number — Current time/phase (0-1).
|
Returns
| Number — The new value/phase (0-1).
|
public static function quintIn(t:Number):Number
Easing equation function for a quintic (t^5) easing in: accelerating from zero velocity.
Parameters
| t:Number — Current time/phase (0-1).
|
Returns
| Number — The new value/phase (0-1).
|
public static function quintOut(t:Number):Number
Easing equation function for a quintic (t^5) easing out: decelerating from zero velocity.
Parameters
| t:Number — Current time/phase (0-1).
|
Returns
| Number — The new value/phase (0-1).
|
public static function sineIn(t:Number):Number
Easing equation function for a sinusoidal (sin(t)) easing in: accelerating from zero velocity.
Parameters
| t:Number — Current time/phase (0-1).
|
Returns
| Number — The new value/phase (0-1).
|
public static function sineOut(t:Number):Number
Easing equation function for a sinusoidal (sin(t)) easing out: decelerating from zero velocity.
Parameters
| t:Number — Current time/phase (0-1).
|
Returns
| Number — The new value/phase (0-1).
|
protected static const HALF_PI:Number
protected static const TWO_PI:Number