Expand description
Fragment-field scene: a fullscreen Shadertoy-style domain-warped field, colored through the shared palette LUT (ADR-0021). The first “generative-art”- tier built-in and one of the two preset-driven systems (ADR-0002 layers 1-2).
Its look is a set of named parameters — warp, hue, zoom, glow,
flash, plus the shared color knobs color_span/color_center/saturation
(Plan 0020) — that a preset binds to expressions over the audio analysis (Plan
0003 Phase 5). With no preset the parameter defaults render a gentle idle
field. The scene reads no audio directly; all reactivity flows through the
parameter values.
Color: the field level indexes a 256-entry gradient LUT (the preset’s
[palette], default spectrum = the exact prior cosine) instead of a
hardcoded palette(). color_span sets how much of the gradient the field
spans (replacing the old fixed field*0.6), color_center/hue slide the
window, and saturation desaturates toward luma — all bindable.
Structs§
- Fragment
Field Scene - Fullscreen domain-warped fragment field, driven by named preset parameters.
Constants§
- PARAMS
- The parameter names this scene consumes — the vocabulary a preset binding
is checked against at load, so a typo is warned about instead of silently
doing nothing (ADR-0020). Keep in sync with
set_parambelow; thedeclared_params_match_set_paramguard incore/tests/preset.rsfails if the two drift.