new Ease.circ()
Circular easings.
Methods
-
staticEase.circ.in()
-
Circ In.
Formulareturn -(sqrt(1.0 - (x^2)) - 1.0);
-
staticEase.circ.inout()
-
Circ In-Out
Formulaif ((x*=2.0) < 1.0) return -0.5 * (sqrt(1.0 - (x^2)) - 1.0); return 0.5 * (sqrt(1.0 - (x-=2.0)*x) + 1.0);
-
staticEase.circ.out()
-
Circ Out.
Formulareturn sqrt(1.0 - (x=x-1)*x);