ease_in_out_quadratic#

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

An ease-in and ease-out quadratic function to generate animation steps (slow to fast to slow).

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:

int or float