mirror of
https://github.com/storytold/artcraft.git
synced 2026-10-31 23:47:51 +00:00
Tuner (see TUNER.md): a draggable, collapsible dev panel rendering every group registered via defineTunables() as slider + number-input rows. - Live: physics/light/material/halo values are read per frame; formation values trigger a debounced re-sample - Values persist to localStorage; modified labels tint accent; Copy puts a JSON snapshot on the clipboard for baking back into defaults; Reset clears - Shown in dev builds or with ?tuner=1; drag position and section collapse state persist - Policy (documented): every new tweakable constant registers with the tuner by default - Hero groups: Formation, Physics, Cursor & Light, Material, Halo Formation: the hex lattice read too uniform. Balls are now placed by multi-pass dart throwing over the glyph mask — big balls claim spots first, smaller ones settle into leftover gaps, random depth within the slab, 3D overlap rejection via spatial hash — a faked settled-pile impression, not a physics solve. Stroke-margin test keeps big balls inside the letterforms so the type stays crisp.