Skip to content

textmode.synth.js / SynthSource / g

Method: g()

ts
g(scale?, offset?): this;

Extract the green channel as a grayscale value.

Parameters

ParameterTypeDescription
scale?SynthParameterValueScale multiplier (default: 1.0)
offset?SynthParameterValueOffset amount (default: 0.0)

Returns

this

Example