Skip to content

Apply builder learnings to the demo + add four showcase scenes#28

Merged
SethMorrowSoftware merged 1 commit into
mainfrom
claude/gracious-curie-fazDz
Jun 5, 2026
Merged

Apply builder learnings to the demo + add four showcase scenes#28
SethMorrowSoftware merged 1 commit into
mainfrom
claude/gracious-curie-fazDz

Conversation

@SethMorrowSoftware
Copy link
Copy Markdown
Owner

Bring the Kit Showcase demo up to the standard of the contraption builder, and expand it from 6 to 10 scenes.

Improve (ported patterns):

  • Build-once: chromeBuilt() + uUIVersion stamp + rebuildCB, so the chrome persists with the saved stack and only the scene physics re-inits per open.
  • Theme constants: the scattered chrome RGB strings collapse into a kCol* block.
  • DRY + hover: setBtnIdle/setBtnActive helpers, plus real hover states on the scene/tool tabs (the demo had none); the highlighters route through them.
  • Wider 1180x760 window with a width-adaptive tab bar that fits all scenes.

Expand (four new scenes, reusing proven kit primitives):

  • Dominoes: a long row of tiles to topple (chain reaction).
  • Balloons: negative-gravity-scale balls on rope joints to ground pegs.
  • Wrecking Ball: a heavy hinged arm, pre-lifted, that smashes a brick wall.
  • Magnets: per-frame b2kPush pulls every shape (and dropped bodies) to the cursor.

Tuning constants (kMagPull, kWreckDensity) and a couple of scene geometries may want a tweak in the IDE; the structure follows the existing scene builders.

https://claude.ai/code/session_01XpBcQg2DbncrBcFZLHqhMj

Bring the Kit Showcase demo up to the standard of the contraption builder, and
expand it from 6 to 10 scenes.

Improve (ported patterns):
- Build-once: chromeBuilt() + uUIVersion stamp + rebuildCB, so the chrome
  persists with the saved stack and only the scene physics re-inits per open.
- Theme constants: the scattered chrome RGB strings collapse into a kCol* block.
- DRY + hover: setBtnIdle/setBtnActive helpers, plus real hover states on the
  scene/tool tabs (the demo had none); the highlighters route through them.
- Wider 1180x760 window with a width-adaptive tab bar that fits all scenes.

Expand (four new scenes, reusing proven kit primitives):
- Dominoes: a long row of tiles to topple (chain reaction).
- Balloons: negative-gravity-scale balls on rope joints to ground pegs.
- Wrecking Ball: a heavy hinged arm, pre-lifted, that smashes a brick wall.
- Magnets: per-frame b2kPush pulls every shape (and dropped bodies) to the cursor.

Tuning constants (kMagPull, kWreckDensity) and a couple of scene geometries may
want a tweak in the IDE; the structure follows the existing scene builders.

https://claude.ai/code/session_01XpBcQg2DbncrBcFZLHqhMj
@SethMorrowSoftware SethMorrowSoftware merged commit 02bd0f3 into main Jun 5, 2026
3 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.

2 participants