Synth Settings

Synth Settings #

Functions and settings that affect overall hydra behavor and rendering.

render #

render( texture = all )

// default
osc(30,0.1,1.5).out(o0)
noise().out(o1)
solid(1).out(o2)
gradient().out(o3)
render()

update #

update( )

setResolution #

setResolution( width, height )

// make the canvas small (100 pixel x 100 pixel)
setResolution(100,100)
osc().out(o0)

hush #

hush( )

// clear the buffers
osc().out(o0)
hush()

setFunction #

setFunction( options )

speed #

speed = 1

bpm #

bpm = 30

width #

width

height #

height

time #

time

mouse #

mouse = { x, y }