Skip to content

Build the stack figure: its live tour and the generated page - #33

Merged
codecsrayo merged 1 commit into
mainfrom
stack-figure-build
Nov 25, 2026
Merged

codecsrayo merged 1 commit into
mainfrom
stack-figure-build

Conversation

@codecsrayo

Copy link
Copy Markdown
Member

The fifth step of the isometric stack figure:

  • tools/figures/stack/live.js: everything on screen is a function of one clock; the units, plates, cables and arrows of the current technology light one after another, and a ring travels each lit cable from the side that opens it.
  • tools/figures/stack/tour.js: the tour, 19 stops; it pauses on any interaction (pointer over the figure or the text, a key, a tap, a selection) and resumes with ▶ or Space; arrows step, a row points at its places alone; reduced motion shows one still stop.
  • tools/figures/stack/build.mjs: puts it together, runs the kit's geometry audit (--audit for the full one), and writes src/figures/stack.html, a generated file, the same bytes on every run.
  • README.md: how to rebuild it.

Verified locally:

  • node tools/figures/stack/build.mjs --audit: audit passed, every check at 0 (clearance, terminals, folds, depth order, crowding…), 306 solids, 10 cables.
  • The kit's line check (scripts/lines.mjs through drive.mjs) at all 19 stops, dark and light: line ends: 0 at every stop.
  • pnpm test, both builds, scripts/check-public.sh.

The page is not embedded yet: the next PR places it on the stack overview and the Simulation page.

🤖 Generated with Claude Code

The figure's live code and its tour: everything on screen follows one
clock; the tour lights each technology's places one after another, pauses
on any interaction and resumes with the play button or Space; a row of a
panel, pointed at, lights only its places. build.mjs puts the room, the
model and the page together, runs the kit's geometry audit and writes
src/figures/stack.html, a generated file, the same on every run. The
README says how to rebuild it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecsrayo
codecsrayo merged commit 6476908 into main Nov 25, 2026
2 checks passed
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