SMOOTHSTEP
A smooth step from 0 to 1 as a number goes from 0 to 1.
Syntax
SMOOTHSTEP(x)
| Argument | Meaning |
|---|---|
| x | A number. |
Result
A number from 0 to 1: 0 below 0, 1 above 1, and an S-shaped curve between.
Examples
In the example drawing:
| Expression | Gives |
|---|---|
SMOOTHSTEP(0.25) |
0.1562 |
SMOOTHSTEP(0.5) |
0.5 |
SMOOTHSTEP(2) |
1 |
See also: SMOOTHERSTEP, LERP.