textmode.synth.js / ModulatedArray
Interface: ModulatedArray
Extended array interface with modulation methods.
Arrays in textmode.synth.js behave like hydra - they cycle through values over time, creating dynamic, time-varying parameters. This enables complex animations without manually tracking time or state.
Example
Extends
Array<number>
Indexable
ts
[n: number]: numberMethods
| Method | Description |
|---|---|
| fast | Set speed multiplier for array cycling. |
| smooth | Enable smooth interpolation between array values. |
| ease | Apply easing function to interpolation between array values. |
| offset | Set time offset for array cycling. |
| fit | Fit (remap) array values to a new range. |