home/ atoms/ hydra-function-categories

Hydra functions fall into five categories: source, geometry, color, blending, and modulation

Hydra’s whole vocabulary is organised into five basic types of function: source (osc, noise, shape, gradient, voronoi, solid, src) generates the signal; geometry (rotate, scale, pixelate, repeat, kaleid, scroll) rearranges it in space; color (posterize, shift, invert, contrast, luma, thresh, colorama) adjusts its color values; blending (add, sub, layer, mult, diff, mask, blend) combines two sources by color; and modulation warps one source’s geometry with another. Every sketch is a chain from one source through some of these transforms to an output, so classifying an unfamiliar function into the right category tells you what it will do to the signal.

Examples

source osc(10) → geometry .rotate(0.1) → color .invert() → blending .blend(noise()) → output .out().

Assessment

Classify a given Hydra function into source/geometry/color/blending/modulation, then explain in one sentence what distinguishes blending from modulation.

“all of the basic types of functions within hydra: _**source**_, _**geometry**_, _**color**_, _**blending**_, and _**modulation**_”
corpus · hydra-getting-started-official-interactive-tutorial · chunk 2