← Gallery Demo sequences — signature choreography

Demo sequences — signature choreography

core/demoSequences.js

Press Play signature and a 15-step loop performance runs itself: the loop halves, doubles, reverses, and jumps forward over a synthesized 4 s riff while the overlay tracks every move — the same choreography every run, with no randomness. Technically, signatureDemo is a fixed 15-step glitch choreography with no rng: every run emits the same op log and, because the ops are pure integer arithmetic on the loop descriptor (halve / double / move-forward, reverses don't touch bounds), the final loop bounds are predictable in closed form for any buffer length N: {2q, N} where q = ⌊⌊⌊N/2⌋/2⌋/2⌋ (the last "move forward" is always a no-op — the loop already reaches the buffer end). Badge 1 asserts the op log equals the canonical sequence; badge 2 asserts the executed final bounds equal the closed-form expectation.