> Nekoplay

apply

ease.apply()

Calculates a value that changes smoothly from a start point to an end point using an easing function.

ease.apply(easing function, elapsed time, duration, start value, end value)

easing function Function

The interpolation function that defines the transition curve (e.g., ease.linear, ease.inQuad, ease.inOutCubic, etc.).

elapsed time Number

Time elapsed since the transition started, in seconds.

duration Number

Total time the transition should take.

start value Number

The initial value from which the transition starts.

end value Number

The final value the transition should reach upon completion.