Interface BackEasingFactory

Anticipatory easing function factory

interface BackEasingFactory {
    overshoot(s): BackEasingFactory;
    (normalizedTime): number;
}
  • Calculate eased time.

    Parameters

    • normalizedTime: number

      Normalized time typically in the range [0, 1]

    Returns number

Methods

Methods

  • Returns a new back easing with the specified overshoot s. The degree of overshoot is configurable; if not specified, it defaults to 1.70158.

    Parameters

    • s: number

      Overshoot parameter

    Returns BackEasingFactory