textmode.synth.js / SynthSource / g
Method: g()
ts
g(scale?, offset?): this;Extract the green channel as a grayscale value.
Parameters
| Parameter | Type | Description |
|---|---|---|
scale? | SynthParameterValue | Scale multiplier (default: 1.0) |
offset? | SynthParameterValue | Offset amount (default: 0.0) |
Returns
this