Not included in any default dist, compile your own if you wish to use. Easing equations mainly used in animation to calculate tween frame values. Each method shares the same parameters and return value as below.
Returns
NumberThe tween value for the currentFrame.
Parameters:
| Name | Type | Description |
|---|---|---|
| currentFrame |
Number
|
The current frame |
| startValue |
Number
|
The start value of the number to be tweened |
| valueChange |
Number
|
The total ammount of change the tweened value will expierience over the length of its animation. For example if you're tween from 100 to 200 the |
| totalFrames |
Number
|
The total number of tween frames. |