CyberCity/tools
MiguelCarino 56c1b629fc A fourth world lit from inside the street, and a canal to cross on the way
Edo, on key 4: a castle town in the rain, the first world lit from within
rather than from a long way off. Paper lanterns under the eaves and oil lamps
behind the shopfronts invert the lighting model — bright at the bottom of a
wall, black at the top — and under an overcast deck the picture is carried by
lines (ridge tile, drip edge, mid-rail, gutter, the batter of a castle wall)
rather than by tone.

The canal is a painted plane, not carved geometry: a negative height renders
byte-identically to zero, so the water sits on the y=0 floor pass with a 0.45 m
stone coping beside it — an occlusion budget rather than a wall, since a real
1.2 m embankment would hide the water and the far bank behind its own kerb.
The reflect pass gives back a quarter of the floor rows where a puddle gives
back three cells.

Same engine, same seed: #42 is the same corner of the same street lattice in
all four.

New: src/surf_japan.js and jp_{town,castle,banner,flora}.js; a canal-flicker
harness in tools/. Readme carries the Edo brightness ladder and the two new
plates.
2026-09-02 01:30:18 -06:00
..
canal-flicker.cjs A fourth world lit from inside the street, and a canal to cross on the way 2026-09-02 01:30:18 -06:00
domshim.cjs A fourth world lit from inside the street, and a canal to cross on the way 2026-09-02 01:30:18 -06:00
exposure.py CyberCity: a walkable ASCII cyberpunk city in one HTML file 2026-08-16 02:20:18 -06:00
flicker-rate.cjs Twenty swatches, a frontier that fills at noon, and no roads on the Moon 2026-08-20 09:00:11 -06:00
headless.cjs Three worlds, and a day/night cycle in all of them 2026-08-18 08:01:34 -06:00
lightning-rate.cjs Three worlds, and a day/night cycle in all of them 2026-08-18 08:01:34 -06:00
metrics.py Twenty swatches, a frontier that fills at noon, and no roads on the Moon 2026-08-20 09:00:11 -06:00
peds.cjs Aerial traffic, police, ads, street market 2026-08-16 20:25:15 -06:00
topng.py A fourth world lit from inside the street, and a canal to cross on the way 2026-09-02 01:30:18 -06:00
west-flicker.cjs Three worlds, and a day/night cycle in all of them 2026-08-18 08:01:34 -06:00