f_ Library: Characteristics and Example Data Flow
What the f_ library does, per family, with the pipeline characteristic that defines it and a data flow that demonstrates the characteristic at its best. Module behavior per docs/f-reference/module-inventory.md; type contracts per f_vecfield_type.md, f_tensor_type.md, discrete_item_conventions.md. Modules marked ⚠ in the README are noted. f_cmap (paused) and f_vf_chroma (paused), f_chladni_audio (stale vs. f_chladni note/amp protocol) and f_util_matrix_2 (draft) are outside scope: they are not part of a finished pipeline. f_wave_field is done except its f_cymascope front end. Updated 2026-11-30 (Claude, offline, from the inventory's rows and I/O tables; no module opened in Max) to cover the modules added since: f_a_purr, f_cgl, f_cores, f_crossover, f_dynamics, f_halftone, f_lfo, f_nematic, f_particles, f_poincare, f_separate, f_util_vary, f_vf_erode, f_vf_resonate, f_vf_stamp, f_wavetable. Flows for them are type-correct chains from those tables, not looks anyone has confirmed.
Pattern generators — self-sustaining dynamics
Characteristic: the module is a solver, not a filter. It runs a differential system (Bessel modes, Kuramoto-Sivashinsky chaos, Wilson-Cowan neural fields, spectral wave field, complex Ginzburg-Landau spirals, an active-nematic Q-tensor) on a fixed internal grid, driven by audio/note or pulse, and keeps going without input. It outputs the pattern itself, and — crucially — a coherent derived field as a byproduct.
Data flow (Chladni → field effect chain):
f_chladni_audioreceives a live audio signal and emitsm0amp…m7ampband amplitudes (audio-to-control bridge).f_chladniis driven in note/amp form by those amplitudes, driving modal synthesis; emits luma (nodal lines), a vecfield (gradient toward nodal lines), and a scalar.f_vf_glowconsumes the luma + vecfield to accumulate anisotropic, field-aligned bloom on the pattern.
This shows the characteristic sharply: the generator is self-sufficient (no texture input at all), yet hands downstream consumers a full f_vecfield, not just pixels.
Two solvers hand over other types. f_cgl outlet 2 is the complex amplitude as a vecfield, and f_nematic is the first emergent tensor source: its outlet 1 is a raw tensor for f_tf_hatch, f_tf_glyph and f_tf_aniso_blur. Both are temporal and keep running under bypass.
Data flow (solver, defect reader, count):
f_cgl(orf_nematic) runs with no input;f_cgloutlet 2 (orf_nematic's packed outlet) carries the field.f_coresreads the defects of that signed 2-vector field and draws them as soft discs (plus in R, minus in G), and sends an exact count, two bangs (went up, went down) and a rate as control values.
The pattern is both an image and a source of events, with no texture input anywhere in the chain.
Data flow (sand and tracers):
f_chladniout1 luma (a scalar) into the field inlet off_particlesin Descend mode: 262,144 particles settle on the nodal lines. In Field mode a vecfield (f_vf_fluid, for one) pushes them instead.- The source texture inlet is optional; the density layer is the second outlet.
Data flow (self-sustaining solver chain):
f_ksoutputs a continuously chaotic luma field; feed it as scalar tof_vf_fieldmap.f_vf_fieldmapconverts the chaotic texture into a vecfield via central-difference gradient.f_causticconsumes source + vecfield to accumulate bright sheets in convergence zones (negative divergence).
The solver's internal chaos becomes a coherent direction field via the adapter; f_caustic's temporal accumulation turns it into brightness structure. Note: f_vf_fieldmap's gradient is "the primary source: jit.gl.bfg" per its reference doc, so this chain is inferred but type-correct.
∇ Fields (vecfield producers) — coherent geometry
Characteristic: outputs are not "textures that look like arrows" but jointly computed two-channel RG float32 per f_vecfield_type.md, so divergence, curl, streamlines are meaningful; zero = (0.5, 0.5). Different producers exist for different sources of geometry: parametric (vortex, vortex_multi), texture-derived (fieldmap, flow, repulse), image-structure-derived (tensormap→axisflow), motion-derived (optical_flow), and simulated (fluid, vorticity, lbm, ch).
Data flow (source-of-geometry spread, four producers one consumer):
- Branch A:
vs_wfg_3(or any scalar texture) →f_vf_fieldmap(geometry from texture gradient). - Branch B: video input →
f_vf_lk(geometry from actual motion, confidence output). - Branch C:
f_vf_vortex(geometry from a single parametric singularity, mod-textures on cx/cy/convergence/curl). - Branch D: scalar texture →
f_tf_tensormap(structure tensor) →f_tf_axisflow(seam-free vecfield along image edges).
All four vecfields feed f_vf_warp, which displaces source UVs along local field vectors. This is the library's composability thesis: shape the field at the producer layer, keep the consumer fixed.
Data flow (feedback field that keeps moving):
f_vf_fluidstirred byf_vf_vortex; its evolving velocity out →f_vf_vorticity(adds back fine curl) →f_vf_advect(accumulates content over frames) → gradient-of-flow vecfield fromf_vf_advectout 2 →f_vf_potential(integrates field magnitude over time into isolines) → scalar tof_weaveacross inlet, turning flow isolines into woven curved lines.
This is the temporal chain that no single Vsynth core module can do: f_vf_fluid makes a field that moves on its own, f_vf_advect builds content over time, f_vf_potential converts that into a static-looking scalar that f_weave converts into line geometry.
∇ Effects (vecfield consumers) — shared field geometry, different character
Characteristic: all consume source + f_vecfield and differ in the accumulation operator (warp: single-sample displacement; streak: integrate along streamlines; glow: 48-step bidirectional accumulation; chroma: counter-offset R/B; prism: per-channel gated RGB separation; advect: frame-to-frame fluid advection; caustic: forward-scatter sheet accumulation). The field is the shape, the consumer is the character.
Data flow (one field, five characters):
f_vf_vortex_multi(three additive vortex sites) → vecfield.- Split the output 5 ways to:
f_vf_warp,f_vf_streak,f_vf_glow,f_vf_chroma,f_caustic— each with a common source texture. - All five outputs are different reads (displace, smear, bloom, color-split, focus-brightening) of identical field geometry.
This shows the abstraction cleanly: the vecfield format is a shared language; the consumer family is a toolbox over that language; mix_pct on the composites lets all branches be crossfaded back over the source.
T_ Fields (tensor pipeline) — structure over direction
Characteristic: the whole f_tf_ family treats image structure as a first-class signal. f_tf_tensormap produces a raw structure tensor (Sobel outer products, box-smoothed, closed-form eigensystem) and a packed orientation form; consumers read axis and anisotropy rather than sign-sensitive direction. Outlet 1 is angle-doubled (cos2θ/sin2θ) so the stored field has no branch-cut seam; it is NOT a vecfield, and sign-sensitive consumers must be reached through f_tf_axisflow per f_tensor_type.md.
Data flow (structure-tensor chain):
- Scalar texture (e.g.
vs_wfg_3or bfg noise) →f_tf_tensormap(raw tensor + packed). - raw tensor →
f_tf_smooth(temporal one-pole smoothing for stability, opposite axes reinforce). - smoothed raw tensor →
f_tf_sharpen(eigengap exaggeration; axis untouched, trace fixed). - result →
f_tf_glyph: one oriented ellipse per grid cell, sized by eigenvalue ratio, gated on trace; doubles as the family's debug view. - Alternatively
f_tf_aniso_blurto blur only along the tensor's major axis (Weickert-style coherence-enhancing), orf_tf_hatchfor streamline hatch marks along the axis. - To reach standard vecfield consumers,
f_tf_axisflowbridges packed → vecfield (along or across edges), which can then feed the ∇ Effects chain above.
Discrete-Item / Generators — structured marks from a shared vocabulary
Characteristic: generators that build arrangements (grids of bricks, weaves, stipples, seeds) rather than smooth fields. They share a param vocabulary (density, phase, size+stretch, softness, shape) per discrete_item_conventions.md, though the same name can mean different quantities in different modules (documented drift, currently known-but-unreconciled).
Data flow (potential → isolines → weave):
f_vf_vortex(orf_vf_fluid) vecfield out →f_vf_potentialinlets 0 and 1 (temporal integration of field magnitude into a 0–1 scalar whose isolines trace the flow; the field is read from inlet 1, and inlet 0 only triggers the frame).f_vf_potentialscalar out →f_weave's across inlet: weave lines become curved isolines of the flow, not straight grids.f_weavetex out →f_masonry-style geometry: for a different feel,f_masonry's output is the module that stays clean under geometric warps likef_drostebecause it's distance-field based, whereasf_masonryis grid-quantized.
Data flow (seed bombing):
f_vf_seedsconsumes a shape texture (in0) + a vecfield (required) + optional mod/color.- Mark placement and orientation come from the vecfield; the shape texture gives each seed its mark; field-magnitude-driven growth enables true overlap ("texture bombing").
- Output tex = mark color, scalar = mark mask; composite with
vs_alpha_blend_2or add withvs_mixer_3.
Geometry / UV Warp — analytic warps
Characteristic: stateless single-pass transforms that bend sampling coordinates by a fixed analytic map (log-polar Droste recursion, Möbius inversion, stereographic disk, kaleidoscope fold, SIRDS depth-displacement), not by any input data field.
Data flow (generator → geometric warp → color):
f_masonrybricks out →f_droste(log-polar spiral, infinite-zoom recursion of the brick wall) →f_lens(aberration/distortion/halation, spatially modulated) →f_tone_curve(shadow/mid/high) → final.
This shows the "bend space, don't generate color" family doing what it's for: taking structured content from a discrete-item generator and making it infinitely recursive, then optically treating it.
Color / Tonal Grading — terminal, per-pixel, no geometry
Characteristic: stateless, no geometric displacement; effect is about what color a pixel is, structured by a tonal segmentation (per-channel lift/gamma/gain; hue-band select; luma-range select; shadow/mid/high). Terminal in the pipeline and easily interleaved with vs_colorizer/vs_rgb_mixer-class core modules.
Data flow (luma-gated color on field output):
f_vf_prismcomposite out →f_luma_processor(adjust sat/lum/hue only within shadow/mid/high) →f_channel_grader(per-channel grade) →vs_cos_palettes(cosine palette colorize) → output.
Routing / Utility / Adapters — plumbing the type system
Characteristic: adapters and routing matrices that let otherwise incompatible modules talk; each enforces a convention that keeps types correct downstream.
Data flow (profile-driven masonry modulation):
- any source texture →
f_util_profile(CPU-side row-column luminance profiler, 128×1 + 1×128 outputs). f_masonrycourse/column modulation inlets driven by those profiles.- Same source →
f_texrouter(4×4 patch-matrix routing with named presets) to distribute frames across the chain. f_vf_split→ scalar-only consumers (e.g. feed Y channel of an optical-flow vecfield intof_masonry's drift modulation).
Data flow (CV-matrix-style modulation):
- Two source textures →
f_util_matrix_2(Eurorack-style CV matrix; one source drives one destination column, scalar per-param routing messages out). - Messages drive a patch of scalar-modulated modules (e.g.
f_hue_processorhue band drift,f_channel_graderR/G/B gain sweep).
Audio — parallel subsystem, no texture path
Characteristic: gen~/pfft~ modules with no GL context, driven by MSP cables, out of the texture type system. f_a_decorrelate (audio in/out) is the processor form of f_a_ripple (generator); both were rebuilt 2026-11-16 and neither has been heard in Max since (⚠ in the README). f_a_purr (generator, same build, ⚠) adds a breath-phase control outlet. And f_chladni_audio is the audio-to-control bridge into f_chladni (but protocol-stale: sends m0amp…m7amp while f_chladni now takes note/amp).
Cross-cutting conventions worth knowing
- Bypass is not uniform. Most modules pass source;
f_texrouter,f_util_profilehold last frame (freeze);f_vf_ch,f_ks,f_wc,f_vf_lbmkeep the solver running underneath and emit a neutral texture;f_tf_smooth/f_tf_sharpenpassthrough exactly. Documented in the inventory's bypass table. - Type boundaries are real boundaries.
f_vecfield≠ tensor ≠ scalar;f_tf_tensormapoutlet 1 is not a vecfield and sign-sensitive consumers must go viaf_tf_axisflow. Unconnected inlets decode as neutral/black/grey per the inventory's driving-texture table, with documented traps (e.g. all-zeros decoding to a "phantom" non-SPD tensor inf_tensor_type.mdrule 5). - Temporal modules are consumers of their own history.
f_vf_fluid,f_vf_ch,f_vf_lbm,f_vf_advect,f_vf_potential,f_tf_smooth,f_grain's feedback layer,f_ks,f_wcall have frame-to-frame state; wiring them into the non-temporal part of a chain changes the chain's time behavior. - Named pipelines:
f_tf_hatchis a three-stage streamline (LIC) renderer, 16 steps per direction, with a two-stage pre-filter for its stroke texture;f_tf_glyphdoubles as the tensor family's debug view;f_tf_aniso_bluris the coherence-enhancing smoother.
Summary map (per patcher file in package/patchers/)
| Category | Modules | Character |
|---|---|---|
| Patterns | f_chladni, f_ks, f_wc, f_quasi, f_cgl⚠, f_nematic⚠, f_particles, f_wavetable⚠, f_lfo, f_cmap⚠ | Solver-driven, self-sustaining, field byproduct |
| Generators/Discrete | f_grain, f_masonry, f_weave, f_stipple, f_vf_seeds | Arranged marks, shared param vocabulary |
| Geometry/UV | f_droste, f_mobius, f_poincare, f_lens, f_stereo, f_sirds, f_ngon⚠, f_cmap⚠ | Stateless analytic coordinate warps |
| Color/Tone | f_channel_grader, f_hue_processor, f_luma_processor, f_tone_curve, f_crossover, f_dynamics, f_halftone, f_separate, f_vf_erode, f_cmap⚠ | Terminal, tonal segmentation, pixel-value only |
| ∇ Fields | f_vf_vortex, f_vf_vortex_multi, f_vf_fieldmap, f_vf_flow, f_vf_repulse, f_vf_lk, f_vf_fluid, f_vf_ch, f_vf_lbm, f_vf_vorticity, f_wave_field, f_chladni (partly) | Coherent jointly-computed RG vecfield producers |
| ∇ Effects | f_vf_warp, f_vf_streak, f_vf_glow, f_vf_chroma, f_vf_prism, f_vf_advect, f_vf_resonate, f_caustic | Shared-field consumers, differing accumulation operator |
| T_ Fields | f_tf_tensormap, f_tf_smooth, f_tf_sharpen | Structure (axis+anisotropy) signal, angle-doubled, NOT vecfield |
| T_ Effects | f_tf_aniso_blur, f_tf_glyph, f_tf_hatch | Axis-aligned renderers, axis-blind or bridged |
| Adapters | f_tf_axisflow, f_vf_fieldmap, f_vf_potential, f_vf_split, f_vf_stamp, f_cores | Type-conversion and bridging |
| Routing/Utility | f_texrouter, f_util_matrix_2 (draft), f_util_profile, f_util_vary, f_modules | Plumbing, matrices, profiling, no visual effect of their own |
| Audio | f_a_decorrelate⚠, f_a_ripple⚠, f_a_purr⚠, f_chladni_audio⚠ | Signal domain, no textures, MSP cables |
| Launcher/Menu | f_modules, f_Launch (extras) | Generated menus and launcher, not effects |
f_a_purr has no reference doc and f_cmap has none either (per the docs folder, 2026-11-30); every other patcher except the internals and f_modules has one. Verify any given module by its own doc (docs/f-reference/<name>.md) before wiring beyond these flows.
Example flows, module by module
Two additional example data flows per patcher, beyond the family-level chains above. Wiring is per the inventory's inlet/outlet/bypass tables; ⚠ modules get aspirational flows consistent with their built surface, not evidence of a verified look.
Patterns
f_chladni
- Nodal-line gradient as structure:
f_chladniout1 luma →vs_edges→f_vf_fieldmap→f_vf_streak(source texture = live camera) — streaks align to the plate's nodal lines, re-shaping real footage by the resonance figure. - Per-note color grade: MIDI note →
f_chladni; out1 luma →f_luma_processor(shadow/mid breakpoints) →f_channel_grader— each triggered mode re-grades a different tonal band of the accompanying video.
f_chladni_audio ⚠ (protocol-stale: emits m0amp…m7amp, f_chladni now takes note/amp)
- Music-aware plate: multitrack audio →
f_chladni_audio→ once the note/amp bridge is built →f_chladni→f_vf_glow; band energy picks the resonance figure. - Message-rate CV:
m0amp…m7amp(20 ms messages) → Max sliders → scaledf_hue_processorcenter messages over time — eight audio bands each steer a hue band on a texture feed, until the band→param mapping is formalized.
f_ks
- Chaos as field source:
f_ksluma →f_vf_fieldmap→f_vf_advect— the chaotic pattern advects injected content into self-reorganizing streaks. - Texture as modulation map:
f_ksluma →f_stippleprocessor mode (luma sets dither density) →vs_dither— chaotic density-modulated stipple, no geometric displacement involved.
f_wc
- Cortical grid optics:
f_wcwithout_view= Unwrapped →f_droste→f_lens— the flat cortical grid of the web becomes an infinite-zoom spiral, then filmic lens treatment. - Camera-pulsed web: live camera luma (via
f_tone_curve, shadows up and highlights down to squash contrast) →f_wcpulse inlet — the web's pulse trains ride the video's rhythm,out_mode= Contour gives a clean overlay layer.
f_quasi
- Self-referential aberration:
f_quasiout2 (exact bounded gradient) →f_vf_chromawith out1 (banded luma) as the source — the quasicrystal's own gradient steers its RGB separation. - Woven quasicrystal:
f_quasiout3 (potential scalar) →f_weaveacross inlet →f_mobius— Shepard-zoom isolines woven into lines, then Möbius-folded.
f_wave_field
- Strike → rings → glow: a held Strike on
f_wave_field(the outlines of a texture on inlet 0, or the frame centre) → out1 luma →f_vf_glow(source + its dispersion field) — dispersion rings bloom outward along the gradient. - Field-driven trails:
f_wave_fieldout2 gradient vecfield →f_vf_advectwith camera source — footage smears along the wavefront gradient, decay shaping the trail length.
f_cmap ⚠ paused (built and benched, look not confirmed)
- Feedback pull on live input: camera →
f_cmap(z^n + w feedback) →f_grain— the complex-map pull warps footage, grain re-attaches stochastic detail. - Recursion pair:
f_cmapoutput →f_droste— the complex-map pull nested inside log-polar recursion, both infinite-recursion mechanisms combined.
f_cgl ⚠
- Spirals into counted events:
f_cgloutlet 2 (A as a vecfield) →f_cores— the discs mark the spiral cores and the count and bangs go out as control values. - Plain texture use:
f_cgloutlet 1 (a color look, Hue+Luma view) →f_lens— the self-sustaining pattern gets a filmic treatment; no input needed upstream.
f_nematic ⚠
- Emergent tensor into streamlines:
f_nematicoutlet 1 (raw tensor, strength 1) →f_tf_hatch— strokes follow the oriented texture as defects drift. - Debug view: the same outlet →
f_tf_glyph— one ellipse per cell, to see the director field the schlieren look (outlet 3) only suggests.
f_particles
- Chladni sand:
f_chladniout1 luma →f_particlesfield inlet, Descend — grains slide down the plate's gradient onto the nodal lines. - Flow tracers: camera →
f_particlessource inlet,f_vf_fluidvecfield → field inlet, Field mode — particles drawn over the image as the flow carries them.
f_wavetable ⚠
- Unpatched generator: no table inlet — the built-in table gives stripes with rotation →
f_vf_fieldmap→f_vf_advect. - Accumulate: a texture on the FM inlet becomes the integrated rate of a per-pixel phase (
leakpulls it back,resetrestarts);f_ksluma as that texture is a natural try (inferred, not looked at).
f_lfo
- Float outlet → a control message to any module dial in place of
vs_lfo(frame-rate independent: elapsed time, clamped to 250 ms per tick). - The 1x1 texture outlet → a modulation inlet that expects a texture, with
depth,offsetandcurveset on the LFO rather than on each destination.
Discrete-item generators
f_grain
- Gated grain grade:
f_grainout0 composite →f_hue_processor(center on the grain palette) →f_tone_curve— grain placement stays stochastic, color gets selective. - Mask-crossfade layers:
f_grainout1 grain mask →vs_alpha_blend_2(blacks = displaced source out2, whites = clean input) — grain appears exactly where displaced, clean where not; the mask as the only truth.
f_masonry
- Brick-depth stereogram:
f_masonryout1 mask (as depth, smoothed byf_tf_aniso_blur's isotropic fallback? no — usevs_filter_lp4x) →f_sirdsdepth inlet; pattern =f_stipplesource mode — a stereogram whose depth plan is the brick coursing. - Drift from profiles:
f_util_profilecolumn profile (1×128) →f_masonrycolumn modulation → output →f_droste— courses drift by luminance column, making the wall melt into a spiral.
f_weave
- Curved-isoline weave:
f_vf_potentialscalar (fed fromf_vf_fluid) →f_weaveacross inlet — the cloth's lines become flow isolines;mix_pct-free, geometry itself is overridden. - Profile-graded weave:
f_util_profilerow profile → scaled →f_weaveweight_tex-tagged texture on inlet 0 — line weight varies per horizontal band from luminance.
f_stipple
- Stipple as SIRDS pattern:
f_stipplesource mode composite →f_sirdspattern inlet, depth =vs_fish_eye-warped camera luma — a halftone stereogram. - Processor-mode dither feedback: camera →
f_stippleprocessor mode (the red channel dithers against the hash field; black and white unless Colorize is raised) →vs_mixer_fdbk— the stipple feeds the mix, decaying into a dithered residue. Displacement is not in this path; it exists only on the third outlet (displaced source).
f_vf_seeds
- Flow-oriented marks:
f_vf_fluidvecfield →f_vf_seedsfield inlet; shape tex =f_tf_hatchmarks; camera as mod — seeds orient to fluid flow and the hatch marks become the mark texture. - Overlap bombing via mask:
f_vf_seedsout1 mark mask →vs_alpha_blend_2over the source photo →f_channel_graderon the photo layer — seeds' growth (field-magnitude-driven overlap) reveals a re-graded photo through the mask.
Geometry / UV warp
f_droste
- Quasicrystal recursion:
f_quasibanded out1 →f_droste(n_arms= 5 to match the five plane waves) — endless-zoom bands on endless-zoom geometry. - Glyph field spiral:
f_tf_glyphoutput →f_droste→f_stereo— oriented ellipses fold up a spiral and wrap onto the display sphere.
f_mobius
- Clean inversion on structure:
f_tf_glyph→f_mobius(invert ≈ 0.5, loxodromic range) — circles stay circles because glyph ellipses are the geometry the transform preserves. - Möbius-driven chromatic:
f_mobius→f_vf_prismwithf_vf_fieldmapof the Möbius output — the inversion's own gradient drives the split.
f_lens
- Full chain end-to-end:
f_masonry→f_droste→f_lens(aberration mod =f_util_profilerow profile; transmission mod =f_vf_potential) →f_channel_grader. - Ghost-image texture trick:
f_lenswithf_graincomposite as the ghost source patch… not supported (single source) — alternative: camera →f_lens→f_vf_streakisolated-layer output re-composited byvs_alpha_blend_2— streaks only where the lens darkened.
f_stereo
- Recursive disk:
f_droste→f_stereo— the spiral zoom wraps onto the rotating sphere, its rotation dial synchronized visually to Droste's twist. - Tensor disk display:
f_tf_axisflow-drivenf_vf_advectoutput →f_stereo— advected flow (which carries curved direction) shown on the stereographic surface.
f_sirds
- Flow-depth stereogram:
f_vf_potentialscalar (isolines of a stirred fluid) →f_sirdsdepth; pattern =f_stipple— depth = the flow's accumulated potential, so the hidden image is the flow topology. - Brick relief:
f_masonrymask (low-passed viavs_filter_lp4x) →f_sirdsdepth; pattern =f_stipplesource mode — the autostereogram's depth plan is the brick coursing.
f_ngon ⚠ (tier-1 mirror only, undocumented)
- Kaleidoscope of the web:
f_wcRGB →f_ngon(n = 8) →f_vf_glowinlet 0,f_vf_vortexon inlet 1 — the form-constant web symmetrized and bloomed. - Folded tensor hatching:
f_tf_hatchmarks →f_ngon→f_stereo— hatching mirrors into n-fold symmetry, rendered as a disk.
f_poincare
- Texture into a tiling:
f_quasiout1 →f_poincare(Whole, a {p,q} with 1/p + 1/q < 1/2) — a quasicrystal folded into a hyperbolic tiling. - Moving camera: live camera →
f_poincareSliver mode,cam_x,cam_yandrotdriven byf_lfo— the kaleidoscope drifts across the disk.
Color / tone
f_channel_grader
- Stereogram grade:
f_sirdsoutput →f_channel_grader(per-channel lift/gain to kill the color fringing strips) →vs_dither. - Solver-tinted:
f_ksluma → replicated RGB →f_channel_grader(R lift / B gain) →f_quasi's aspect-setting inlet — chaos gets a duotone push and feeds the next generator's aspect.
f_hue_processor
- Caustic color select:
f_causticcomposite →f_hue_processor— keep only the warm caustic bands' saturation, desaturate the rest of the frame. - Grain palette lock:
f_graincomposite →f_hue_processor(center = the grain color) →f_tone_curve— Hue Processor's grade respects only the grain's palette, leaving other pixels flat; Tone Curve then shapes the whole frame by band.
f_luma_processor
- Shadow-only weave boost: camera →
f_luma_processor(shadow band lift) →f_weaveweight_tex on inlet 0 — dark areas weave thick, bright ones thin. - Tonal-gate prism:
f_vf_prismcomposite →f_luma_processor→f_channel_grader— the prism's spectral split gets re-graded per tonal band, spectral gradient clean only in highlights.
f_tone_curve
- Pulse conditioning: camera →
f_tone_curve(crushed shadows) →f_wcpulse inlet (1) — dark frames stop pulsing the Wilson-Cowan web entirely; the web rests between bright beats. - Luma-band field: camera →
f_tone_curve(crushed shadows, Falloff raised) →f_vf_fieldmap→f_vf_advectinlet 1, with a source on inlet 0 — only the mids' and highlights' gradient advects; shadows stall the flow. At Falloff 0 the jump atlow_midis a hard edge, likely the strongest gradient in the frame.
f_crossover
- EQ for pictures: camera →
f_crossoverin EQ mix, mid gain up — local contrast without touching the broad tones or the finest grain. - Smooth scalar for a gradient: the low band outlet (signed float32) →
f_vf_fieldmap→f_vf_advect— the fine detail is gone so the gradient field is calm (inferred; mind the signed range).
f_dynamics
- Ducking: camera →
f_dynamicsCompressor,f_ksluma on the sidechain inlet — the sidechain, not the picture, is the detector. - Slew: camera →
f_dynamicsSlew with attack and release in ms — trails and slow fades per pixel; the level and gate outlets are the detector's own signals.
f_halftone
- Spot-color print:
f_separateplates 1-3 →f_halftonein Plates mode — one screen per plate at its own angle, plate outlets gray or color. - Straight screen: camera →
f_halftonein Channels mode with Bayer or Blue marks — a dither look from one module.
f_separate
- Plates out:
f_separateplates 1-3 →f_halftone(Plates mode). - Composite into ink:
f_separatecomposite →f_vf_erodepicture inlet — the separated colors become the pigment that pools.
f_vf_erode
- Pooling ink: picture →
f_vf_erode,f_ksluma as the terrain,f_vf_lbmvelocity as the vecfield — pigment gathers in the low places and is pushed along. - Thickness as a signal: outlet 2 (thickness) →
f_vf_fieldmap→f_vf_streak— streaks follow where the ink is deep.
∇ Fields (producers)
f_vf_vortex
- Singularity caustics:
f_vf_vortex(convergence high, curl mid) →f_causticwith camera source — bright sheet forms at the fixed point. - Noise-drifting vortex:
vs_sources_noiselow-band →f_vf_vortexcx/cy mod inlets →f_vf_advect— the sink wanders, advected content follows.
f_vf_vortex_multi
- Three-site chroma:
f_vf_vortex_multi→f_vf_chroma— R/B split around three sinks at once. - Multi-focal potential cloth:
f_vf_vortex_multi→f_vf_potential→f_weaveacross — isolines weave around all three foci.
f_vf_fieldmap
- Noise-field warp:
jit.gl.bfgnoise →f_vf_fieldmap→f_vf_warp(source =f_masonry) — noise gradients bend the brick wall. - Field-seeded fluid:
f_vf_fieldmap(source = camera luma,rotatenear 90) →f_vf_fluidforce inlet →f_vf_advect— video luminance stirs an incompressible soup that then moves on its own. Atrotate0 the force is a pure gradient, and Fluid's defaultprojectremoves nearly all of it.
f_vf_flow
- Waveform-directed flow:
vs_wfg_3inverted output →f_vf_flow→f_vf_streakinlet 1, with a source on inlet 0 — the WFG's phase stripes set a scanning flow angle; streaks sweep in a time pattern. - Texture-steered prism: scalar texture →
f_vf_flow→f_vf_prisminlet 1, with a source on inlet 0 — the texture sets the split direction. Flow is full strength everywhere, so it does not limit where the split appears; Prism's ownthresholddoes, on bright source.
f_vf_repulse
- Attraction variant: camera →
f_vf_repulsewith negativegain→f_caustic— brightness attracts, caustic sheets converge on the subject. - Warp-away portrait:
f_vf_repulse→f_vf_warp(source = same camera) — the surroundings close in on its bright regions, which shrink (warp reads along the vector, so content moves against it); compositemix_pctcrossfades the two truths.
f_vf_lk
- Motion streaks: camera →
f_vf_lk→f_vf_streak(source = camera) — motion blur in the true motion direction, aperture-problem handled. - Motion memory: vecfield out0 →
f_vf_fluidforce →f_vf_advect— after the motion stops, the fluid keeps the momentum; confidence out1 →vs_comparatorgates where the fluid is force-fed.
f_vf_fluid
- Vortex-stirred warp:
f_vf_vortex→f_vf_fluidforce →f_vf_warp(source =f_weave) — the weave is bent by persistent incompressible swirl. - Two-fluid phase: two
f_vf_fluidat differentviscosity, one stirred byf_vf_vortex, one by optical flow →f_vf_ch→ blended velocity out0 →f_vf_glow— droplet boundaries glow along the blended field.
f_vf_ch
- Phase as stipple density:
f_vf_chphase tex (out0, grey) →f_stippleprocessor mode — droplets decide where the stipple field densifies. - Blended-field prism:
f_vf_chblended vecfield (out1) →f_vf_prism(source = the phase tex) — the Cahn–Hilliard pattern prisms along its own immiscible flow.
f_vf_lbm
- Wake streaks:
f_masonrymask →f_vf_lbmobstacle →f_vf_streak(source =f_masonrycomposite) — the wind's wake drags the bricks' texture into a vortex street. - Shedding potential: wait for shedding →
f_vf_potential→f_weave— the Kármán street's isolines end up woven as cloth.
f_vf_vorticity
- Re-swirled decay:
f_vf_fluid(viscosity low) →f_vf_vorticity→f_vf_advect— fine curl that solver smoothing removed is returned to the advection. - Confinement check chain:
f_vf_vortex→f_vf_vorticity→f_caustic— confinement sharpens the singularity's caustic sheet vs. un-confinement (the same setup minus the stage).
∇ Effects (consumers)
f_vf_warp
- Warp-with-feedback:
f_vf_warpwarped layer out2 →vs_mixer_fdbk— the mixer's additive feedback sits after the warp, so the warped image builds up brighter; the displacement itself does not compound. - Noise-warped masonry:
f_vf_fieldmapof bfg noise →f_vf_warp(source =f_masonry) →f_droste— first a local bend, then a global one.
f_vf_streak
- Keyed streak layers:
f_vf_streakisolated layer out1 →vs_luma_key→vs_alpha_blend_2over clean camera — streak only where the image is bright. - Chromatic streak grade:
f_vf_streak(chromatic option on) →f_hue_processor— restrict the streak's spectral smear to one hue band.
f_vf_glow
- Profile-driven radius:
f_util_profilerow profile →f_vf_glowradius mod inlet — glow radius varies left to right, one band per row of luminance (the 128 × 1 profile is read along x). - Solver-energy bloom:
f_vf_fluid-advected camera →f_vf_glowinlet 0, the same fluid field on inlet 1 — energy in the flow field (its geometry) decides where light bleeds.
f_vf_chroma
- Palette-modulated aberration:
vs_cos_palettesout →f_vf_chromahue mod inlet — the rainbow direction is steered by a second, unrelated source. - Graded split:
f_vf_chromacomposite →f_luma_processor→f_tone_curve— the split gets a tonal band treatment, matching color processor conventions.
f_vf_prism
- Dispersion-field reuse:
f_vf_prismout2 (weighted dispersion direction vecfield) →f_vf_split→ two scalars →f_weaveacross and along — the prism's own dispersion drives the weave's geometry. - Brightness-gated only:
f_tf_tensormapoutlet 1 →f_tf_axisflow→f_vf_prisminlet 1, with a source on inlet 0 — prism split follows image edges, not a synthetic field.
f_vf_advect
- Excitable trails: camera →
f_vf_advect(decay > 1) →f_vf_glowinlet 0, the advecting field on inlet 1 — accumulated flow amplifies frame to frame, self-igniting along the vortex street. - Flow gradient as new field:
f_vf_advectout2 gradient vecfield →f_vf_potential→f_weave— the advection's own history becomes woven isolines.
f_caustic
- Lens-stacked caustics:
f_causticcomposite →f_lens(halation, transmission mod =f_vf_potential) — the caustic sheet gets a filmic lens pass on top. - Bricks under water:
f_masonry→f_caustic(field =f_vf_fluidstirred by noise) →f_droste— masonry refracted through turbulent caustics, then spiraled.
f_vf_potential (in every chain here, the vecfield goes to inlet 1 and inlet 0 needs a texture; one vecfield into both works)
- Depth for stereogram:
f_vf_potentialscalar →f_sirdsdepth — flow topology as stereogram relief. - Isoline stipple:
f_vf_potentialscalar →f_stippleprocessor mode — stipple density tracks the potential isolines rather than the source image.
f_vf_resonate
- Rippling edges along a flow: camera source +
f_vf_flowvecfield →f_vf_resonate(Resonant) — edges shed fading ripples in the flow's direction. - No field: leave the vecfield inlet empty and set
angle, Comb mode — fading echoes along one uniform direction; the signed layer outlet gives the ripples alone.
T_ fields and effects
f_tf_tensormap
- Edge-tracked advect: scalar source →
f_tf_tensormap→f_tf_axisflow→f_vf_advect— content flows along image structure without sign seams. - Orientation-driven stipple: packed out1 →
f_stippleprocessor mode — Stipple reads red only, which in the packed texture is cos 2θ (0.5 on flat areas), so the dither follows edge orientation. Trace (B) and coherence (A) are not reachable without an unpack module (f_tf_unpack, not built).
f_tf_smooth
- Stabilize then commit: camera →
f_tf_tensormap→f_tf_smooth→f_tf_sharpen→f_tf_glyph— wobbling camera structure becomes crisp, stabilized, then exaggerated ellipses. - Release-performable inertia:
f_tf_smoothin the above withreleaseswept live →f_tf_aniso_bluron the same source — anisotropy confidence fades as the operator releases, blur relaxes toward isotropic.
f_tf_sharpen
- Commit-to-hatch:
f_tf_smooth→f_tf_sharpen→f_tf_hatch— the sharpened eigengap pushes coherence toward 1, so strokes follow the axis further and less of the frame reads as grain. - Not into
f_tf_axisflow:f_tf_sharpenandf_tf_smoothoutput the raw tensor, and axisflow reads only the packed form (tensormap outlet 1).
f_tf_aniso_blur
- Structure-smoothing grade: camera →
f_tf_aniso_blur(source = camera, tensor = same camera throughf_tf_tensormap→f_tf_smooth) →f_hue_processor— blur only along structures, then selectively re-saturate. - Isotropic fallback demo: blank scalar tex →
f_tf_tensormap→ raw →f_tf_aniso_blur(source =f_masonry) — no direction anywhere: isotropic fallback, the whole wall softens evenly.
f_tf_glyph
- Real-structure debug over video: camera →
f_tf_tensormap→f_tf_glyphwith source tex = camera — the ellipses tell you which way the footage's edges run; doubles as the family's debug view. - Glyph-cloth:
f_tf_glyphcomposite →f_weaveweight_tex on inlet 0 — ellipses modulate line weight; the glyph view becomes a control source.
f_tf_hatch
- Keyed hatch composite:
f_tf_hatchstreaks (outlet 0) →vs_alpha_blend_2over the source photo — hatching exactly where the tensor found structure, photo underneath. - Hatch marks as seeds:
f_tf_hatchstreak field (outlet 1) →f_vf_seedsshape tex; vecfield =f_tf_axisflowof the same tensor — the seed engine places the hatch strokes where the structure lives.
f_tf_axisflow
- Across-mode flow:
f_tf_axisflow(mode = across) →f_vf_warp(source =f_weave) — content pushed perpendicular to the edges: the weave gets combed away from its lines. - Along-mode caustics:
f_tf_axisflow(mode = along) →f_caustic— brightness collects where edge-flow converges, a lens effect that is structurally derived from the image.
Adapters
f_vf_split
- Axis-separated control:
f_vf_fluid→f_vf_split→ X scalar tof_weavealong inlet, Y scalar to offset — horizontal flow rate and vertical drift modulated independently. - Scalar-only consumers:
f_vf_lkout0 →f_vf_split→ Y scalar →f_stippleprocessor mode — motion's vertical component becomes dither density.
f_tf_axisflow — see T_ fields/effects above; both its modes are exercised there.
f_vf_stamp
- Ink and a push: stamp texture + held press →
f_vf_stampink →f_vf_advectsource, impulse vecfield →f_vf_fluidforce — a shape is injected and then flows. - Radial or swirl impulse from the stamp's edge (no vecfield on inlet 1) →
f_vf_advectonly — a shape that bursts or spins outward.
f_cores
- Counts as control:
f_cgloutlet 2 →f_corescount outlet → a module dial (scaled), bangs for events — more spirals, more of something. - Signed overlay:
f_nematic's packed outlet →f_coressigned-marks outlet (plus in R, minus in G) — the two defect kinds in two colors over the pattern.
Routing / mod
f_texrouter
- Four-bank switching: four generated sources (
f_ks,f_quasi,f_weave,f_wc) →f_texrouterpreset system →f_stereodisplay — one dial swaps the whole stage without rewiring. - Hold-frame transition: route then
bypass= 1 (freeze) between preset swaps →vs_alpha_blend_2— the freeze is itself an effect (a held frame crossfaded over the next).
f_util_profile
- Profile-driven masonry: camera →
f_util_profile→ row/column profiles →f_masonrycourse and column inlets — the wall's bond follows the video's axis statistics. - Profile-keyed glow: same camera → profiles →
f_vf_glowradius mod — brightness bands (per row, per column) decide where bloom spreads.
f_util_matrix_2 ⚠ draft
- Eurorack-style modulation:
f_util_profilerow tex and camera →f_util_matrix_2sources → message outlet →f_hue_processorcenter,f_channel_gradergain — one texture routes to two destinations per column, routed by amount. - Cross-routed warps:
f_vf_fluidoutput as source A,f_tf_axisflowoutput as source B → matrix →mix_pctoff_vf_warpandf_vf_chroma, swapped preset-to-preset.
f_modules
- Live chain building:
f_modulesadds modules in the order:f_vf_fluid→f_vf_advect→f_vf_potential→f_weave— the chain in the temporal field characteristic section.menu.pyhas no recipe for it, so wiref_vf_potential's inlets by hand. - Category-typed wiring: the ∇ and T_ category markers in the menu are the type system check:
f_tf_tensormapis added under T_ Fields, and the next picker (f_tf_axisflow) lands straight under it — category order = pipeline order.
Audio
f_a_decorrelate
- Stereo widening with a ceiling: synth stereo pair →
f_a_decorrelate(pfft~ per-band processing,tanhceiling) → out — de-correlated stereo without clipping. - Processing the stimulus:
f_a_ripple's output (once the module has external outlets) →f_a_decorrelate— the stimulus processed by its own processor sibling, with dry/wet crossfading.
f_a_ripple ⚠ unfinished
- Self-timed stimulus into processing: raise
output_level→ gen~ audio out → (after getting external outlets)f_a_decorrelate— the generator's own output gets a second modulation layer. - f0 as control: gen~ out3
f0_h→ scaled tof_chladninote messages — a new f0 everystim_durre-tunes the plate; requires the band→note bridge noted above to be built.
f_chladni_audio ⚠ unverified, protocol-stale — see its two flows in the Patterns section; both end at known-stale interfaces (m0amp…m7amp vs. f_chladni's note/amp), so they need the band→note bridge before anything downstream is reachable.
f_a_purr ⚠ (not heard in Max)
- Breath phase as a visual clock:
f_a_purroutlet 2 (0-1 phase) → scaled into a dial message on a texture module — the picture breathes with the purr. - Processed purr:
f_a_purraudio →f_a_decorrelate— the generator through the processor sibling (both MSP, same domain).