new Ease.bounce()
Bounce easings.
Methods
-
staticEase.bounce.in()
-
Bounce In.
Formulareturn 1.0 - Bounce.out(1.0-x);
-
staticEase.bounce.inout()
-
Bounce In-Out
Formulaif (x < 0.5) return Bounce.in(x*2) * 0.5; return (Bounce.out((x*2.0)-1.0) * 0.5) + 0.5;
-
staticEase.bounce.out()
-
Bounce Out.
Formulaif (x < 0.363636) return (7.5625*x*x); else if (x < 0.727272) return ((7.5625*(x-=0.545454)*x) + 0.75); else if (x < 0.909090) return ((7.5625*(x-=0.818181)*x) + 0.9375); else return ((7.5625*(x-=0.954545)*x) + 0.984375);