linear#

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

A linear function to generate animation steps.

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