textmode.synth.js / ModulatedArray / smooth
Method: smooth()
ts
smooth(amount?): this;Enable smooth interpolation between array values.
Instead of jumping from one value to the next, smooth() creates gradual transitions. The amount parameter controls the smoothing duration. When amount is 1 (default), smoothing is applied across the full transition.
Parameters
| Parameter | Type | Description |
|---|---|---|
amount? | number | Smoothing amount 0-1 (default: 1) |
Returns
this
The array for chaining