ProteinMotion
Reference navigation
On this page

FUNCTION · v0.9.1

there_and_back

Move smoothly from 0 to 1 and back to 0 over one clip.

python
from proteinmotion import there_and_back

Signature

python
there_and_back(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].