new Quadratic()
Quadratic easing.
- Source:
- src/tween/Easing.js line 40
Methods
-
In(k)
-
Ease-in.
Parameters:
Name Type Description k
number The value to be tweened.
- Source:
- src/tween/Easing.js line 42
Returns:
k^2.
- Type
- number
-
InOut(k)
-
Ease-in/out.
Parameters:
Name Type Description k
number The value to be tweened.
- Source:
- src/tween/Easing.js line 66
Returns:
The tweened value.
- Type
- number
-
Out(k)
-
Ease-out.
Parameters:
Name Type Description k
number The value to be tweened.
- Source:
- src/tween/Easing.js line 54
Returns:
k* (2-k).
- Type
- number