Skip to main content

MILKDROP_SOFTNESS

Constant MILKDROP_SOFTNESS 

Source
pub const MILKDROP_SOFTNESS: f32 = 1.0;
Expand description

The softness every warp_mesh stroke is drawn at — the waveform, every custom wave, every shape outline, both borders and the motion grid, which all reach the line fragment through one LineRenderer::draw_split call.

Pinned at 1.0 — the pre-Plan-0114 profile — and it does NOT follow lines::DEFAULT_SOFTNESS, which Plan 0114 Phase 5 moves (ADR-0124, Alternative D0). The two constants exist because there are two judges: the four line families answer to that plan’s look gate, and this surface answers to foo_vis_milk2, ADR-0113’s fidelity reference, against which the conversion has already been judged side by side. draw.rs’s stroke widths were chosen through this profile — a thick MilkDrop line, drawn there as two or four offset passes, reproduced here as one stroke of twice the width — so a number picked by that gate answers a question nobody asked of this surface.

It is also the regime where the profile’s fwidth term stops describing a real gradient: draw.rs’s THIN is a 1.35 px half-width at 1080p and 1.0 px at 1280x800. The pin stays byte-identical there only because the edge term is capped at 1.0 — see the shared profile in the line renderer.

Plan 0114 Phase 8 is what sets this: it puts the reference rig beside a spread of values and returns a number, and 1.0 — keeping the pin as it stands — is a legitimate outcome that closes the question rather than a null result. Until it runs, the pin holds the profile the conversion was judged under.