textmode.synth.js / SynthSource / shape
Method: shape()
ts
shape(
sides?,
radius?,
smoothing?): this;Generate geometric shapes (polygons).
Parameters
| Parameter | Type | Description |
|---|---|---|
sides? | SynthParameterValue | Number of sides (default: 3) |
radius? | SynthParameterValue | Radius of the shape (default: 0.3) |
smoothing? | SynthParameterValue | Edge smoothing amount (default: 0.01) |
Returns
this