easeOutCubic method
dynamic
easeOutCubic(
- dynamic t
- Compute the easing out cubic function for ease out effect in animation
- @param {Number} t The absolute progress of the animation in the bound of 0 (beginning of the) and 1 (ending of animation)
- @returns {Number} Result of easing out cubic at time t
- @param {Number} t The absolute progress of the animation in the bound of 0 (beginning of the) and 1 (ending of animation)
Implementation
easeOutCubic(t) {
return 1 - Math.pow(1 - t, 3);
}