new Ease.sine()
Sine easings.
Methods
-
staticEase.sine.in()
-
Sine In.
Formulareturn -cos(x*PI*0.5)+1.0;
-
staticEase.sine.inout()
-
Sine In-Out
Formulareturn -0.5*(cos(PI*x)-1.0);
-
staticEase.sine.out()
-
Sine Out.
Formulareturn sin(x*PI*0.5);