smootherStep
smootherStep(edge0, edge1, x) ⇒ number
Ken Perlin's suggested improvement on smoothStep
function
has gentler entry and exit slope
Kind: global function
See: https://en.wikipedia.org/wiki/Smoothstep
Param | Type |
---|---|
edge0 | number |
edge1 | number |
x | number |