Repository navigation
Give the lobby on the Agents page depth, and its table room - #312
Merged
Merged
Conversation
The lobby is now a room drawn with three.js: the same people, standing upright on a tiled floor with shadows, light from the way in and from lamps, and a view that leans a little with the pointer. Pointing at someone shows their nickname, and a click marks them and fills the panel below, as before. It follows the flat room's rules: a look comes only from the address, a mood from the status on chain, a prop from the label, and no score reaches it. Where WebGL is missing, or until the module has loaded, the flat room stands in. The table card is as wide as the lobby card, so its last column is no longer cut off, and it tightens to fit at tablet widths. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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.
What
The lobby is a room with depth. The same people now stand upright on a tiled floor with soft shadows, light from the way in and from lamps, and a view that leans a little with the pointer. They wander and hop as they walk. Pointing at someone shows their nickname. A click enlarges them, puts a ring under them and fills the panel below, as before.
The table fits. The agents card is as wide as the lobby card, so the last column is no longer cut off, and it tightens slightly at tablet widths to stay inside the card.
The lobby's rules still hold
lobby-scene.jsdraws each person fromlobby.js's own drawing, so a look still comes only from the address, a mood from the status on chain, and a prop from the label. No score reaches the new file, and where someone stands still means nothing.How
site/assets/lobby-scene.jsis a module, using the three.js already vendored for the simulation page. Its switches are theCONFIGblock at the top.agents.jsstarts the room with depth when the module is there and WebGL works. Until the module has loaded, and wherever it cannot run, the flat room stands in.lobby.jsstops its loop once its room has been taken out of the page.Checked
node --testinoracle/: 1,500 pass.scripts/serve-site.mjs --cspwith the 46 registered agents, at about 56 fps in a software-rendered headless browser.Not checked
🤖 Generated with Claude Code