Skip to content

▲ grid on its own name: grid.piabrota.art opens straight on the map - #28

Merged
h0ffmann merged 2 commits into
mainfrom
claude/project-thread-m6q6z8
Nov 9, 2026
Merged

h0ffmann merged 2 commits into
mainfrom
claude/project-thread-m6q6z8

Conversation

@h0ffmann

@h0ffmann h0ffmann commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Requested by Hoffmann · project thread

What it does

The same build serves both names. On grid.piabrota.art, or with ?grid on any host (for just dev), the room opens straight on the ▲ grid map.

  • src/config.js: grid.host: 'grid.piabrota.art' (invariant 3: the name lives only in config).
  • src/main.js: on that host, HIFI opens whatever view was stored (?lofi still wins, and without WebGL the visitor gets LOFI as before, invariant 8). The page is titled ▲ grid · the Brazilian coast · pia, brota.
  • src/app.js: the first shot is grid, so the map opens as soon as the room loads. Esc and "back to the room" still go to startShot (invariant 4). The map needs no sound, so the "enter the room" gate stays out of the way over it. It shows the first time the visitor steps into the room, unless sound is already on. Nothing plays before a click (invariant 7).
  • AGENTS.md: the src/main.js row says this. README and README.pt-BR: replay row 22 and its prompt.

The server side is piabrota/nix-os#186: a second vhost with its own certificate. It needs a DNS A record for grid first, and then a pin bump to this PR's merge commit.

Pictures

Filmed on http://grid.piabrota.art (the name mapped to a local vite preview of dist/), headless Chromium in software at 960×540, by night.

Opens on the map Hover on a node Esc: the room, with the gate

Video, 19 s: docs/record/grid-home.mp4. The map opens on load, hover cards over the sea, wheel zoom, Esc into the room, the gate, enter, key 2 to the desk, then key 0 back to the map.

Checked

  • node scripts/check.mjs and vite build pass.
  • On the mapped host: rig.current === 'grid', the map is covering the room, the title is the grid's, and the gate is hidden. After Esc the gate shows. After enter, keys 2 and 0 work.

Not checked

  • room.mp4 and the shot-*.jpg stills are not recorded again. The room on room.piabrota.art does not change, and a full just record takes about an hour in software here. The new stills and video are docs/record/grid-home*.
  • A real phone or a GPU browser, and the real domain (it waits for DNS and nix-os#186).
  • This PR and tyler-durden-bot on a slate beside the people's board, work in progress #27 both add replay row 22 and touch the README replay. Whichever merges second renumbers its row.

Generated by Claude Code

config.grid.host names it (invariant 3). On that host, or with ?grid, main.js picks HIFI
whatever view was stored (?lofi still wins), titles the page after the grid, and app.js
makes the grid shot the first one, so the map opens as the room loads. Esc and "back to
the room" still go to startShot (invariant 4); the gate for the sound stays out of the way
over the map and shows the first time the visitor steps into the room (invariant 7).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0193yhp5ApMQiknEWJ8EfRaX
…unless sound is on; its stills and video

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0193yhp5ApMQiknEWJ8EfRaX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants