Commit graph

2 commits

Author SHA1 Message Date
MiguelCarino
3ca965cf31 Two storeys on the frontier, and no round rocks on the Moon
TALL BUILDINGS IN AN 1880S TOWN. surf_west's facade stacked its window
band with `storey = floor(uy / st.up)` and no cap, so it drew as many
rows of glass as the map gave it height — and city.js's landmark roll
gave it 14-24 m. The result was eight-storey window grids on a main
street. The facade now draws two storeys and nothing above them, so a
tall building is a false front or a tower of blank boarded wall, which
is what a tall frontier building is. Landmarks come down to 9-14 m and
get rarer; the verticality that world is entitled to comes off the roof
in the crowns element. Every cell over 12 m is now rock, not building.

MINI MOONS ON THE MOON. moon_ground drew each boulder as a filled disc
with a smooth sphere normal and a specular ring round its limb — which
is a picture of a small moon, scattered a few hundred times across a
lunar plain. Nothing there is round: lunar rocks are impact breccia
with no weathering to wear the corners off. Boulders are now a seven-
vertex polygon with exact chord edges, flat per-facet shading so two
faces of the same rock step hard against each other, and the specular
on whichever facet faces the sun instead of round a limb. The sub-cell
branch stops using 'o', which was the same mistake one scale down.

domshim 288/288, photosensitivity gates pass, city night byte-identical.
2026-08-18 08:30:45 -06:00
MiguelCarino
a39746e97b Three worlds, and a day/night cycle in all of them
Worlds are now a registry rather than a pair. 1 CyberCity, 2 Frontier,
3 Moonwalk; the same seed is a place in all three, so #42 is the same
corner of the same street lattice with a different century — or a
different world — built on it.

MOONWALK. An Apollo-era lunar surface, and it is the world this
renderer was waiting for: no air means a shadow is genuinely lum 0 and
the sky is the same black at noon as at midnight, so it prints 1.3% of
its cells in the muddy band against the project's under-30% target and
the city's 64%. Crater rims are the only geometry in any world whose
height varies inside a lot. Signage is switched off by data — signP 0
in every district — rather than by code.

THE CLOCK. T steps the time of day through six stops, Shift+T back, Y
stops and restarts the automatic cycle. Seven-minute day, sun to 54
degrees with the bearing swinging east to west so the shadows swing
with it. Phase is a pure function of t plus stamped overrides, so the
offline harness still reproduces the browser.

The print was the blocker: it is fitted to a frame that is more than
half pure black, and daylight is the inverse of that picture. Answered
with a second EXPOSURE ladder blended by the clock through
Compose.post(f, cam, t), which had always been handed cam and t and
always dropped them. Surfaces blend on the sky, sources on the sun.

THE FRONTIER IS AN 1880S TOWN AGAIN. It had been running the shared
city crowd with only its silhouettes re-weighted, so 18% of it carried
a glowing phone, one in ten wore a lit visor, and a fifth was rim-lit
in screenlight blue; the city's moon was painting a cyan halo over the
sunset because it won the depth test against the frontier's own sun.
Added the desert it was missing: blowing dust, a mesa skyline, four
more plants, horses at the hitching rails, wagons, a dog.

Every world-space element now shares one camera (src/proj.js) instead
of carrying its own copy — six places for a projection that must match
raycast.js exactly to stop matching it.

domshim 288/288. All three photosensitivity gates pass, and the gate
that was frontier-only now runs every world that is not the city.
Budget 420 -> 560 KB, with the accounting in build.js.
2026-08-18 08:01:34 -06:00