Commit graph

3 commits

Author SHA1 Message Date
MiguelCarino
6416910498 Fade the Moon's plain into its horizon, plate the help strip
On the airless world the lit floor brightened with distance and cut hard
to the black sky, printing a ruler-straight grey band at the horizon. The
ramp now falls with depth (1 - 0.85 d^2), the base is lower and each
pebble's own lum carries more of it, so the plain recedes and keeps its
texture. Other worlds are byte-identical.

The help strip took the world's light under the underpainting and read as
dim letters on blotchy slabs. HUD cells now paint themselves: an even
black plate, letter pixels at their own swatch, fading with the overlay
through Compose.HUD, and the spill pass skips them. It also says 1-4
WORLD, since there are four.

west-flicker's lum-mode comparison with the city is enforced on grids up
to 200x60's cell count, where it was fitted; on larger grids it is printed
as reported-not-enforced while the absolute backstops still hold. The
browser always runs with the underpainting on, where the comparison is
enforced at every size.
2026-10-22 00:23:56 -06:00
MiguelCarino
b62b368034 Draw the city in high definition, still in text
The payload splits per world: index.html keeps the engine and the city,
and w/west.js, w/jp.js and w/moon.js carry the other worlds, each loaded
with a content-hash cache-buster and isolated so one failing chunk only
loses its own world.

Under the glyphs sits a per-world underpainting (CC.Compose.UNDER, with
0 as a kill switch for the frame data and glyph layer), glyphs print
through a pixel path on small cells, optics are sized for denser grids,
and the default bands reach about 300 columns at 1920 px and 360 at
2560, stepping back down on a slow machine.

The photosensitivity probes now see the composite, at 200x60 and
400x120, weighted by ink-compensated coverage for the real cell size.
27 of 28 runs pass; lum-mode west-flicker at 400x120 (3.25/s against
the city's 3.16/s) is documented in CONTRACT as still open.

Also carries the share card: og.jpg, its og/twitter meta and sitemap.
2026-10-21 21:32:38 -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