Repository navigation
▲ grid on its own name: grid.piabrota.art opens straight on the map - #28
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Hoffmann · project thread
What it does
The same build serves both names. On
grid.piabrota.art, or with?gridon any host (forjust 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 (?lofistill 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 isgrid, so the map opens as soon as the room loads. Esc and "back to the room" still go tostartShot(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: thesrc/main.jsrow 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
Arecord forgridfirst, and then a pin bump to this PR's merge commit.Pictures
Filmed on
http://grid.piabrota.art(the name mapped to a localvite previewofdist/), headless Chromium in software at 960×540, by night.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.mjsandvite buildpass.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.mp4and theshot-*.jpgstills are not recorded again. The room on room.piabrota.art does not change, and a fulljust recordtakes about an hour in software here. The new stills and video aredocs/record/grid-home*.Generated by Claude Code