ease_in_sine#

data_morph.plotting.animation.ease_in_sine(step: int | float) float[source]#

An ease-in sinusoidal function to generate animation steps (slow to fast).

Parameters:

step (int or float) – The current step of the animation, from 0 to 1.

Returns:

The eased value at the current step, from 0.0 to 1.0.

Return type:

float