ProteinMotion
Reference navigation
On this page

FUNCTION · v0.9.1

linear

Return progress unchanged.

python
from proteinmotion import linear

Signature

python
linear(t)

Parameters

ParameterDefaultDescription
tRequiredAnimation progress in [0, 1].

Returns: float

Notes

Pass this function as rate_func to play() or an animation. Progress t is in [0, 1].