starry-math
    Preparing search index...

    Function smoothstep

    • Applies a smoothstep interpolation function to a value within a specified range

      Parameters

      • x: number

        The value to interpolate

      • min: number

        The minimum value of the range

      • max: number

        The maximum value of the range

      Returns number

      The interpolated value between 0 and 1