Skip to content

Give the lobby on the Agents page depth, and its table room - #312

Merged
RunTimeAdmin merged 1 commit into
mainfrom
agents-lobby-3d
Nov 15, 2026
Merged

RunTimeAdmin merged 1 commit into
mainfrom
agents-lobby-3d

Conversation

@RunTimeAdmin

Copy link
Copy Markdown
Owner

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.js draws each person from lobby.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.js is a module, using the three.js already vendored for the simulation page. Its switches are the CONFIG block at the top.
  • agents.js starts 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.js stops its loop once its room has been taken out of the page.

Checked

  • node --test in oracle/: 1,500 pass.
  • Runs under the production CSP on scripts/serve-site.mjs --csp with the 46 registered agents, at about 56 fps in a software-rendered headless browser.
  • Screenshots at 1440, 820 and 390 wide.

Not checked

  • Real phones and touch. The phone view is the weakest: 46 people share a small room and bunch.
  • The reduced motion path, which draws a still room, and the fallback without WebGL.
  • The table at phone width still scrolls sideways, as it did before.

🤖 Generated with Claude Code

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>
@RunTimeAdmin
RunTimeAdmin merged commit 298c123 into main Nov 15, 2026
7 checks passed
@RunTimeAdmin
RunTimeAdmin deleted the agents-lobby-3d branch November 15, 2026 18:18
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.

1 participant