Reference navigation
On this page
FUNCTION · v0.9.1
ease_in_out_sine
Apply sinusoidal easing that starts and ends slowly.
from proteinmotion import ease_in_out_sineSignature
ease_in_out_sine(t)Parameters
| Parameter | Default | Description |
|---|---|---|
t | Required | Animation progress in [0, 1]. |
Returns: float
Notes
Pass this function as rate_func to play() or an animation. Progress t is in [0, 1].