textmode.synth.js / SynthSource / luma
Method: luma()
ts
luma(threshold?, tolerance?): this;Apply threshold based on luminance.
Parameters
| Parameter | Type | Description |
|---|---|---|
threshold? | SynthParameterValue | Threshold value (default: 0.5) |
tolerance? | SynthParameterValue | Tolerance range (default: 0.1) |
Returns
this