textmode.synth.js / SynthSource / twirl
Method: twirl()
ts
twirl(
amount?,
radius?,
centerX?,
centerY?): this;Twirl distortion with radial falloff.
Parameters
| Parameter | Type | Description |
|---|---|---|
amount? | SynthParameterValue | Twirl strength (default: 2.0) |
radius? | SynthParameterValue | Effect radius (default: 0.5) |
centerX? | SynthParameterValue | Center X (default: 0.5) |
centerY? | SynthParameterValue | Center Y (default: 0.5) |
Returns
this