The parity wall — sampleUW, sampleMany, glsl()

One field, three implementations, running side by side on the same 96×96 slice at the same instant. The field is a closed-form sum of helical modes, so there is nothing to synchronise: no grid, no state, no random-number stream consumed at sample time. Every backend evaluates the same finite formula, which is why a scalar JS loop, a SIMD kernel compiled to WebAssembly, and a fragment shader can be compared value-for-value rather than "by eye". The fourth panel is their difference on a log scale, and the numbers under it are the point of the page.

The floors are different, and that is the honest part. JS scalar and the WASM batch are both float64 and land at ~1e-16 — separated only because the batch kernel does its own argument reduction and polynomial sine instead of calling Math.sin. The GPU is float32: GLSL ES 3.00 highp float is 32-bit, so the shader cannot agree better than fp32 rounding. The scale to expect is not ε but √N·ε·|φ|, because what gets rounded is the phase, and the phase grows as the field churns; the readout recomputes it every frame from the largest φ in the field and prints measured ÷ scale. A page that printed "0" in the GPU column would be lying or not measuring.

js scalarfield.sampleUW × 9216 · f64 · —
wasm batchfield.sampleMany · f64x2 · —
gpufield.glsl() → WebGL2 · fp32 · —
Δ gpu − js|Δ| ÷ scale, log, 1e−3 → 1e+3 · teal within, amber past · —
helix-noise · one field, three backends
measuring…
difference panel
break: advance one path by one frame

The break controls exist so the small numbers can move. "Advance one path by one frame" adds 1/60 to that backend's clock and changes nothing else; the two comparisons that touch it jump by three to four orders of magnitude while the third stays on its scale, so you can read off which path was disturbed rather than merely that something is wrong. The mode-0 gain slider multiplies one of the 20 modes by 1+δ in the shader only — the CPU keeps the true field — and is there to find where this receipt stops seeing. Walk it up from 1e−6 and watch the ratio column. On an M4 Max the clean GPU row sits at 0.07–0.14× scale; δ = 1e−6 does not move it, δ = 1e−5 lifts it to 0.25–0.40×, δ = 1e−4 to 1.9–3.1×, and δ = 1e−3 is where it crosses the 30× line and the row calls itself BROKEN. So this page can see roughly a part in 10⁵ of one mode out of twenty, and genuinely cannot see a part in 10⁶. Your hardware will land somewhere else, which is why the number is printed rather than asserted.

initialising…