Skip to content

textmode.synth.js / SynthSource / gradient

Method: gradient() ​

ts
gradient(speed?): this;

Generate a rotating radial gradient.

Parameters ​

ParameterTypeDescription
speed?SynthParameterValueRotation speed (default: 0.0)

Returns ​

this

Example ​