smootherstep(x, min, max) → {float}
Smootherstep function as detailed at http://en.wikipedia.org/wiki/Smoothstep
Parameters
Name | Type | Description |
---|---|---|
x | float | The input value. |
min | float | The left edge. Should be smaller than the right edge. |
max | float | The right edge. |
Returns
float -
A value between 0 and 1.
- Source code: math/Math.js (Line 1121)
Please login to continue.