in_cubic

Function
in_cubic(t: float) -> float

Slow start, fast end using cubic curve

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