Sources 🌀 Bulka

Sources

Sources are functions that generate a visual signal. They are the starting point of any Hydra visual.

osc() — Oscillator

Makes a striped pattern like an oscillator signal.

osc(frequency, sync, offset)
ParameterDefaultDescription
frequency60Stripe frequency
sync0.1Movement speed
offset0Color offset

noise() — Perlin noise

Generates an organic noise pattern.

noise(scale, offset)
ParameterDefaultDescription
scale10Noise scale
offset0.1Animation speed

shape() — Geometric shapes

Makes regular polygons.

shape(sides, radius, smoothing)
ParameterDefaultDescription
sides3Number of sides
radius0.3Shape size (0-1)
smoothing0.01Edge blur

voronoi() — Voronoi diagram

Makes a cellular pattern.

voronoi(scale, speed, blending)
ParameterDefaultDescription
scale5Number of cells
speed0.3Movement speed
blending0.3Color blending

gradient() — Gradient

Makes a color gradient.

gradient(speed)

solid() — Solid color

Makes a single-color background.

solid(r, g, b, a)

src() — External source

Uses input sources (s0-s3) or output buffers (o0-o3).


Combining sources

Sources can be combined with blending functions: