mirror of
https://github.com/hydra-synth/hydra.git
synced 2025-12-13 02:10:00 +01:00
1.4 KiB
1.4 KiB
Sources
Sources are elementary generators that output different types of visual content.
gradient
gradient( speed )
speed:: float (defaultx)
noise
noise( scale, offset )
scale:: int (default10.0)offset:: float (default0.1)
Generate Perlin noise.
osc
osc( frequency, sync, offset )
frequency:: float (default60.0)sync:: float (default0.1)offset:: float (default0.0)
out
.out( buffer )
bufferosc:o0,o1,o2,o3src:s0,s1,s2,s3
render
render( buffer )
buffer: buffer (defaulto0)
shape
shape( sides, radius, smoothing)
sides:: int (default3.0)radius:: float (default0.3)smoothing:: float (default0.01)
solid
solid( r, g, b, a )
r:: float (default0.0)g:: float (default0.0)b:: float (default0.0)a:: float (default1.0)
src
src( input )
input:: input (examples:o0,s1)
voronoi
voronoi( scale, speed, blending )
scale:: float (default5)speed:: float (default0.3)blending:: float (default0.3)
Generate voronoi shapes.