SMOOTHERSTEP
An even smoother step from 0 to 1 as a number goes from 0 to 1.
Syntax
SMOOTHERSTEP(x)
| Argument | Meaning |
|---|---|
| x | A number. |
Result
A number from 0 to 1, flatter at both ends than SMOOTHSTEP.
Examples
In the example drawing:
| Expression | Gives |
|---|---|
SMOOTHERSTEP(0.25) |
0.1035 |
SMOOTHERSTEP(0.5) |
0.5 |
See also: SMOOTHSTEP, LERP.