Skip to main content

MIN_SHELL_LIT

Constant MIN_SHELL_LIT 

Source
pub const MIN_SHELL_LIT: f32 = 0.02;
Expand description

Minimum share of a shell’s own pixels that must be lit for the shell to count as occupied in radial_shell_occupancy.

Checked against both sides by measurement (Plan 0075 Phase 1). The failure this guards against is a stray near-threshold pixel marking an empty shell occupied; the content it must not disenfranchise is a hairline stroke crossing a shell. At the sanity suite’s 96×96 capture, shell k holds ~72·(2k+1) pixels (~72 innermost, ~1370 outermost), so 2 % asks for roughly 2–28 lit pixels per shell — above stray-pixel scale, far below any real stroke. Measured at this threshold: the three honest ring-mandala tunings (backlog 0072’s evidence — glow = 1.0, no trails) read 10 / 10 / 9 occupied shells, every shipped preset reads ≥ 3, and the frozen renders-nothing defect (the pre-repair spectrum_ridge, its contour off frame) reads exactly 0 — the threshold separates honest-thin from absent by the measure’s whole range.