Skip to content

textmode.synth.js / SynthContext

Interface: SynthContext

Context passed to dynamic parameter functions during rendering.

Example

Properties

PropertyTypeDescription
bpmnumberCurrent BPM (beats per minute) for array modulation timing
colsnumberGrid columns
frameCountnumberCurrent frame count
heightnumberGrid height in pixels
onError?(error, uniformName) => voidOptional callback for handling dynamic parameter evaluation errors
rowsnumberGrid rows
timenumberCurrent time in seconds
widthnumberGrid width in pixels