in_out

Function
in_out(t: float) -> float

Smooth ease in and out using quadratic 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