Repository navigation
Build the stack figure: its live tour and the generated page - #33
Merged
Merged
Conversation
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>
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.
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 (--auditfor the full one), and writessrc/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.scripts/lines.mjsthroughdrive.mjs) at all 19 stops, dark and light:line ends: 0at 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