textmode.synth.js / SynthSource / swirl
Method: swirl()
ts
swirl(
amount?,
centerX?,
centerY?): this;Swirl distortion around a center.
Parameters
| Parameter | Type | Description |
|---|---|---|
amount? | SynthParameterValue | Swirl strength (default: 4.0) |
centerX? | SynthParameterValue | Center X (default: 0.5) |
centerY? | SynthParameterValue | Center Y (default: 0.5) |
Returns
this