in_out_cubic

Function
in_out_cubic(t: float) -> float

Smooth cubic easing, combining in and out effects

Parameters

t
Time factor between 0 and 1

Returns

Eased value between 0 and 1 Raises: ValueError: If t is not between 0 and 1