Commit graph

2 commits

Author SHA1 Message Date
MiguelCarino
f67b268f1d Let the water on the road actually run, and gate it
surf_japan.js declared `function water` twice at one scope. Declarations
do not shadow by position — the last one hoists and wins — so every call
from the road reached the canal's five-argument painter with ed, L and
lod missing, `w` came out NaN, `w > 0.20` was false, and the standing
water field had been unreachable since the day it was written. The README
calls that branch the single most valuable thing the file does.

It was worse than dead. The canal painter assigns before it returns, so
`mirNow` was set to NaN and the wet-earth branch copied that onto every
carriageway cell; raycast.js's `if (m < 0.06) continue` does not reject
NaN, so those cells entered the reflect pass and were blanked instead of
skipped. The field function is now `puddle` and the two names no longer
collide.

Turning a dead branch on is not a bug fix on its own — it is a new
feature entering the photosensitivity budget, and nothing in there had
ever executed, including the `rip` rate whose comment tunes it from 2.4
to 0.6 "because at 2.4 a downpour drove it to 4.5 Hz". That number had
been argued and never measured. tools/road-flicker.cjs measures it:
canal-flicker's method, walked clear of the channel, scoring only floor
cells and running the wet presets, because a dry row would report a
confident zero for a feature that was not on screen. It passes at 0.20/s
and 0.37% in band against 1.00/s and 2.00%, with reduced motion exactly
still, so the reasoning held.

The census is the price. Edo moves about a point at every hour, because a
wet road is mid-luminance nearly everywhere and that is the muddy band by
definition. The README table and the note under it say so.

sakura-flicker's verdict line now names which rule a number is under,
which its own header already required of whoever quotes it. A big-step
rate is not a flash rate: the drift's 1.00/s is about half a hertz of
switching on one cell, an object crossing it, where the band this project
rules on starts at 3 Hz — and that figure reads 1.21% against a cap of
2.00%. The drift is left alone, because the measurement says the thing it
is close to is not the thing that does harm.
2026-09-04 07:53:57 -06:00
MiguelCarino
20dab1e5dd Give the cherry a bole that forks, and a gate that can see it 2026-09-03 21:24:46 -06:00