Maths · function
smoothstep
Hermite interpolation between two edges: 0 below a, 1 above b.
Explained in Coordinates and units.
function smoothstep(a: number, b: number, x: number): numberimport { smoothstep } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
a | number | |
b | number | |
x | number |