Ease Bounce
- ease_bounce_in(bounces: int = 4, damping: float = 0.4) EasingType
- ease_bounce_out(bounces: int = 4, damping: float = 0.4) EasingType
- ease_bounce(bounces: int = 4, damping: float = 0.4) EasingType
Returns a bounce ease
- Parameters
bounces (
int
) – The number of bounces in the easing.damping (
float
, default:0.4
) – The energy retained during each bounce.
- Returns
EasingType
– a bounce easecallable
- Raises
ValueError – damping must be ≥ 0, bounces must be ≥ 1