API Reference › Ease › Ease.bounce
method

Ease.bounce

Ease.bounce(t) -> fixed

Returns an ease-out that overshoots and bounces a few times before settling at 1.0, like a ball dropping to the floor. Great for coins landing, badges popping, or a menu that lands with character.

Example

program Demo {
  handler Step phase Update {
    let y = Math.lerp(top, floor_y, Ease.bounce(progress))
  }
}
← All symbols