new Quadratic()
Quadratic easing.
- Source code: tween/Easing.js (Line 43)
Public Methods
-
In(k) → {number}
-
Ease-in.
Parameters
Name Type Description k
number The value to be tweened.
Returns
number -k^2.
- Source code: tween/Easing.js (Line 45)
-
InOut(k) → {number}
-
Ease-in/out.
Parameters
Name Type Description k
number The value to be tweened.
Returns
number -The tweened value.
- Source code: tween/Easing.js (Line 71)
-
Out(k) → {number}
-
Ease-out.
Parameters
Name Type Description k
number The value to be tweened.
Returns
number -k* (2-k).
- Source code: tween/Easing.js (Line 58)