Skip to content

layout: interleaved-16x2 preset (16 cannons + 16 projectors) + 32-zone routing example - #156

Merged
pyramation merged 1 commit into
mainfrom
devin/1794614019-interleaved-16x2
Nov 14, 2026
Merged

pyramation merged 1 commit into
mainfrom
devin/1794614019-interleaved-16x2

Conversation

@pyramation

@pyramation pyramation commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The Palace rig is 16 cannons + 16 projectors, not 12 + 12. This adds a named preset for it, keeping interleaved-12x2:

'interleaved-16x2': () => interleavedLayout({ cols: 16, rows: 2, id: 'interleaved-16x2' })
// cannons = logical 0–15 (top row), projectors = 16–31 (bottom row, shifted ½ right)
  • examples/routing-interleaved-16x2.json contains 32 BEYOND routes: C1–C16 on zones 0–15 and P1–P16 on zones 16–31, with zoneBase: 0.
  • A test checks the preset resolves to 32 fixtures, ordered cannons then projectors.
  • The projector skill now mentions the 16×2 preset and says the routing file must match the brain's layout.

No UI change was needed. The canvas already follows the layout's aspect ratio, and Palace and its scene previews already work for any column count. These local screenshots of the 16×2 layout have the panel underneath:

16x2 iPad landscape, panel underneath

Link to Devin session: https://app.devin.ai/sessions/e6939c79261649988b8277ba34725160
Open in Devin Desktop: https://app.devin.ai/desktop/session/e6939c79261649988b8277ba34725160?variant=devin
Requested by: @pyramation


🟢 Devin Review found nothing to fix · View findings

Devin Review

@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@luxor-code-review

luxor-code-review Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Review complete. No issues found — approved ✅.


This PR scales the interleaved cannon/projector layout from 12×2 (24 fixtures) to 16×2 (32 fixtures) for the final Palace rig. The preset is generated by the existing interleavedLayout generator, so the change is small: a new preset entry, a declarative routing example, test coverage, and doc updates.

Files Change
packages/layout/src/presets.ts Adds the interleaved-16x2 preset (16 cannons + 16 projectors, zipper stagger: 0.5) built from the same interleavedLayout generator as 12×2.
examples/routing-interleaved-16x2.json New 32-route routing file mapping logical fixtures 0–15 (cannons) and 16–31 (BEYOND projectors) onto zones 0–31 with a single OSC target.
packages/layout/__tests__/layout-spec.test.ts Extends layout spec tests to assert the 16×2 preset resolves as 16 cannons then 16 projectors.
.agents/skills/wavegrid-projectors-beyond/SKILL.md Updates the projector skill doc to describe the final 16×2 rig and reference the new routing example.

No high-confidence defects were found; review coverage was complete across all four changed files, including interleaving math, routing-zone mapping, and doc-accuracy checks.

Reviewed commit: ce7e9cb

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@pyramation
pyramation merged commit f2fa389 into main Nov 14, 2026
6 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