in_out_back

Function
in_out_back(t: float) -> float

Back ease in-out - pulls back, overshoots, then settles

Combines anticipation with overshoot. Pulls back at the start, then overshoots at the end before settling. Creates maximum personality and life in animations. Use cases: - Hero element animations - Playful, character-driven interfaces - When you want maximum personality - Spring-loaded mechanisms

Parameters

t
Time factor between 0 and 1

Returns

Eased value with both anticipation and overshoot Raises: ValueError: If t is not between 0 and 1