Function exponent

  • Returns a new polynomial easing with the specified exponent e. If the exponent is not specified, it defaults to 3, equivalent to cubic.

    Parameters

    • e: number

      Exponent for polynomial easing.

    Returns PolynomialEasingFactory