textmode.synth.js / SynthSource / barrel
Method: barrel()
ts
barrel(
amount?,
centerX?,
centerY?): this;Barrel distortion (bulge outward).
Parameters
| Parameter | Type | Description |
|---|---|---|
amount? | SynthParameterValue | Distortion amount (default: 0.5) |
centerX? | SynthParameterValue | Center X (default: 0.5) |
centerY? | SynthParameterValue | Center Y (default: 0.5) |
Returns
this