textmode.js / Textmodifier / noise
Method: noise()
ts
noise(
x,
y?,
z?): number;Return deterministic multi-octave noise for a coordinate.
Similar input coordinates produce similar values, making noise() useful for organic motion, terrain, contours, and flow-field sketches.
Parameters
| Parameter | Type | Description |
|---|---|---|
x | number | X coordinate in noise space. |
y? | number | Y coordinate in noise space. |
z? | number | Z coordinate in noise space. |
Returns
number
Noise value in the range [0, 1].