feat: pattern gallery as a preset editor; chase steps; sim split with the preset editor
- Pattern gallery shows the controller's presets, one at a time, with a dropdown, Save, Add preset, and the controller's field labels, delay limits and colour counts. Edits show in the preview; Save writes to the controller only. - Presets are always timed in ms (beat_time is no longer sent to drivers); beats stay in sequences. - Chase steps of 0 hold still; the marquee style is removed from the controller, the gallery and the driver (submodule commit 12a8e22). - The rig's split pane opens the preset editor too (Rig / Presets switch and a Preset editor menu entry). - Sequence editor, room layout and simulator controls from earlier work are included. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8c783ab926
commit
cb51a726bc
79 files changed
+5183
-934
No files matched your search
@@ -24,16 +24,18 @@
|
||||
<option value="2">2×</option><option value="4">4×</option>
|
||||
</select>
|
||||
</label>
|
||||
<div class="pager">
|
||||
<button type="button" id="g-prev" class="secondary" title="Previous pattern (←)">‹</button>
|
||||
<select id="g-pick" title="Choose a pattern"></select>
|
||||
<button type="button" id="g-next" class="secondary" title="Next pattern (→)">›</button>
|
||||
</div>
|
||||
<button type="button" id="g-add" class="secondary" title="Add a preset copied from the one shown">Add preset</button>
|
||||
<button type="button" id="g-pause" class="secondary">Pause</button>
|
||||
<button type="button" id="g-restart" class="secondary">Restart all</button>
|
||||
<a class="button secondary" href="/sim/">Rig</a>
|
||||
</div>
|
||||
</header>
|
||||
<div id="banner" class="banner" hidden></div>
|
||||
<p class="gallery-intro">
|
||||
Every pattern of the C++ led-driver, built to WebAssembly and stepped every 10 ms as on the strip. Fields are the
|
||||
preset's (the names the controller sends). Leave the colour list empty for the pattern's own colours.
|
||||
</p>
|
||||
<main class="gallery" id="gallery"></main>
|
||||
<script type="module" src="/sim/gallery.js"></script>
|
||||
</body>
|
||||
|
||||
Reference in new issue
Block a user