Scope: static
Source: src/math/easing/index.js#L7
Static functions
Static functions
Linear
<static> Linear(v)
Description:
Linear easing (no variation).
Parameters:
name | type | optional | description |
---|---|---|---|
v | number | No | The value to be tweened. |
Returns: number - The tweened value.
Source: src/math/easing/linear/Linear.js#L7
Since: 3.0.0
Stepped
<static> Stepped(v, [steps])
Description:
Stepped easing.
Parameters:
name | type | optional | default | description |
---|---|---|---|---|
v | number | No | The value to be tweened. | |
steps | number | Yes | 1 | The number of steps in the ease. |
Returns: number - The tweened value.
Source: src/math/easing/stepped/Stepped.js#L7
Since: 3.0.0