new Ease.cubic()
Cubic easings.
Methods
-
staticEase.cubic.in()
-
Cubic In.
Formulareturn x^3;
-
staticEase.cubic.inout()
-
Cubic In-Out
Formulaif ((x*=2.0) < 1.0) return 0.5*(x^3); return 0.5*((x-=2.0)*x*x + 2.0);
-
staticEase.cubic.out()
-
Cubic Out.
Formulareturn ((x=x-1)*x*x + 1.0);