From d0bc34d8c92a037c07d450beb82dbcfce80aa198 Mon Sep 17 00:00:00 2001 From: w1n5t0n Date: Tue, 24 Mar 2026 11:54:13 +0200 Subject: [PATCH] refactor(shapeseq): restore arpeggiator, gate ShapeSeq behind ?shapeseq=1 Restore the original arpeggiator as the default sequencer. ShapeSeq code is preserved but gated behind a URL feature flag (?shapeseq=1): - Arpeggiator import, state, and all wiring fully restored - ShapeSeq modules loaded via dynamic import() only when flag is on - ensureShapeSeqInit() creates engine/viz/UI lazily on first audio start - animate loop routes inputs to ShapeSeq only when flag + playing - setOutputMode shows/hides ShapeSeq container only when flag is on - HTML: ShapeSeq container added but hidden by default - CSS: ShapeSeq styles added (inert when container is hidden) All 13 ShapeSeq modules in playground/js/shapeseq/ are untouched. To test ShapeSeq: add ?shapeseq=1 to the URL. --- playground/a-immersive.html | 29 +++-- playground/css/a-immersive.css | 20 +--- playground/js/a-app.js | 209 ++++++++++++++++++--------------- 3 files changed, 137 insertions(+), 121 deletions(-) diff --git a/playground/a-immersive.html b/playground/a-immersive.html index ca65734..ba70a7d 100644 --- a/playground/a-immersive.html +++ b/playground/a-immersive.html @@ -21,7 +21,7 @@