• Return a value between 0-1. A variation on smoothstep that has zero 1st and 2nd order derivatives at x=0 and x=1. http://en.wikipedia.org/wiki/Smoothstep

    Parameters

    • x: number

      Input the value to evaluate based on its position between min and max.

    • min: number

      Any x value below min will be 0.

    • max: number

      Any x value above max will be 1.

    Returns number

    Return a value between 0-1