-
-
-
GLSL-style smoothStep threshold function.
lower threshold
upper threshold
test value
0, if x < edge1
, 1 if x > edge2
, else S-curve polynomial interpolation
Similar to smoothStep but using different, higher degree polynomial.
-
-
-
Step/threshold function.
threshold
test value
0, if x < e
, else 1
Generated using TypeDoc
Exponential ramp with variable shape
Example configurations:
Interactive graph: https://www.desmos.com/calculator/gcnuyppycz