Maps with an "aligned" skirt paste their surroundings from
build/world/unified-z6.png (z5/composite fallbacks), so Lighthouse's trimmed
tiles still showed the AI-invented peninsula and the diamond seam west of the
lighthouse island after overall-square.png was fixed. tools/sea_corner.py now
accepts --image for a composite at another scale (masks scaled from the
rotated source, feather from the image's own pixels, no full-size mgrid
planes, no PNG optimize pass on 217 Mpx) and was applied to all four
composites with a sampled sea colour. Lighthouse trimmed tiles rebuilt.
Co-Authored-By: Claude Fable 5 <[email protected]>
The overall source is a feathered "cropped map" sitting on a uniform dark
background: its whole left, bottom and right margins and most of its top edge
are flat (#121818). Everything outside it is sea, so the AI-outpainted land in
all four corners of overall-square.png was wrong, not just bottom-left.
tools/sea_corner.py now fills all four corner triangles by default with that
background colour (--color sample restores per-corner sampling) and feathers
flat-background pixels within 96 px inside the diamond toward the fill, so the
diamond outline no longer shows where the source margin was a little brighter;
textured content is untouched and the result is idempotent (real pixels are
re-read from the rotated source). Overall tiles rebuilt.
Co-Authored-By: Claude Fable 5 <[email protected]>
Make a fresh clone servable after `git lfs pull` alone, and rebuildable with
`tools/build.py` without re-rendering unchanged PSDs:
- Track build/ (rendered base PNGs, previews, world composites), web/tiles/,
web/tiles-trimmed/, web/data/world.json and web/data/markers/. Large PNGs
and the tile pyramids go through Git LFS (.gitattributes); JSON stays plain.
- build.py: decide PSD re-export from build/<id>/base.stamp.json (PSD size,
mtime, SHA-256 recorded at export time) instead of file mtimes, which are
meaningless after an LFS checkout. Same size + new mtime hashes once and
refreshes the stamp; --stamp-only writes stamps for existing base.pngs.
- Ignore .DS_Store and .env files; track sources/**/*.jpg through LFS.
Viewer:
- Right-click (long-press) the map for a category menu that drops a draft
marker under the pointer and enters marker edit mode for that map.
- Marker editing moves out of the side panel into a box anchored next to the
marker: Enter or a left click anywhere else saves, Esc cancels, Delete
inside the box; drags save position plus the box contents.
- Maps panel expands on hover, header click pins/unpins (status shown in the
header), unpinned collapses 2 s after the pointer leaves; Overview is the
first list entry instead of a separate button. Only the panel scrolls; the
page never grows past the viewport. Hover tooltips render above markers.
Also includes the pending source additions (overall square base, skirt
textures, AI regeneration tooling and notes), service worker, Caddyfile and
map config updates.
Co-Authored-By: Claude Fable 5 <[email protected]>