in_back
Functionin_back(t: float) -> float
Back ease in - pulls back before moving forward
Creates an anticipation effect by briefly moving in the opposite direction before accelerating toward the target. Like pulling back a slingshot or winding up before throwing. Adds personality and life to animations. Use cases: - UI elements that "wind up" before appearing - Character animations with anticipation - Playful button interactions - Adding personality to mechanical movements
Parameters
-
t - Time factor between 0 and 1
Returns
Eased value that goes slightly negative before reaching 1 Raises: ValueError: If t is not between 0 and 1