How order condenses out of coupling — from Huygens' two clocks to a triangular tile under a flashlight. With live, interactive simulators and a running build log.
Every system below is running the same idea: a population of things, each with its own rhythm, nudging its neighbors — and order emerging that nobody designed and no single unit controls. It shows up across 350 years and a dozen disciplines.
The punchline arrives at the end of that list. From Any Point (2017) — triangular tiles as independent circuits, talking over infrared, exhibiting "swarm behavior like a flock of birds or a school of fish," firing a chain reaction from wherever you point a flashlight — was already a physical coupled-oscillator network. The title is the thesis: self-organization has no privileged origin. Perturb it anywhere; the same emergent texture condenses out.
The equation that finally explained it (Kuramoto, 1975): each oscillator drifts at its own
pace and feels a pull toward the swarm's average phase,
dθᵢ/dt = ωᵢ + K·r·sin(ψ − θᵢ). The order parameter r (the green
vector) measures coherence: 0 = chaos, 1 = lockstep. Below a critical coupling nothing
happens; cross it and order erupts like water freezing.
interactive · drag coupling K past the threshold and watch the swarm lock
The strange one (Kuramoto & Battogtokh, 2002). Identical oscillators, identical rules, on a symmetric ring — yet with nonlocal coupling and a phase lag near π/2 the ring tears itself into a synchronized arc and an incoherent arc that refuse to merge. There is no symmetry reason for it. The symmetry breaks itself.
interactive · hit "seed chimera," then watch one arc lock while the other roils
~/Repos/fromanypoint and its 2017 artist
statement. Realized it isn't inspired by this physics — it's a sibling model: an
excitable-medium cellular automaton (idle → active → cooling) on 20
tessellation coupling-graphs, wired to a synthesizer. The tessellation choice
is the coupling topology. And Tamás Vicsek — whose flocking model is exactly
"swarm behavior like a flock of birds" — is a literal co-author of the applause paper
cited above. The conversation closed its own loop.
app.js (game loop + onActivate→playTone seam),
audio.js (event-based synth, random pitch today),
propagation.js (the excitable state machine), and
BaseGrid.js (edge-adjacency already computed). Branched
feature/resonance-mode. Created this notebook.
js/resonance.js; the rest reused.
docs/superpowers/specs/2026-06-13-resonance-mode-design.md — full
architecture, the one-kernel/two-firing-rules math, the three pitch maps, file-by-file
change list, and a 100%-coverage test plan. approved
docs/superpowers/plans/2026-06-13-resonance-mode.md) and executed it
subagent-driven — a fresh implementer per task with spec + code-quality review between
each. The reviews caught and fixed two real issues mid-build (a ring-topology seeding
artifact, and a silent excitable fire-budget drop) and reverted a coverage gate a subagent
had wrongly weakened.
js/resonance.js (Kuramoto field on the edge-graph, 100%
covered), additive audio.playNote, and config/state/settings/HTML/app wiring
via an input kick facade that left input.js untouched. Driven in a real
browser — in oscillatory mode the non-idle tile count ramps 0 → 318 →
1080 of 1206 as the tessellation wakes itself into a collective pulse; switching to
excitable settles it back toward rest (1112 → 7). 618 tests green, full CI gate clean. The
2017 hardware swarm, reborn in software on 20 tilings. live
K/Σw normalization), a substepped integrator (so Euler doesn't smear
the incoherent core), a vortex seed on click, and a toggleable
coherence view — landing a self-organizing 2D spiral-wave chimera: a
coherent rotating arm around a pinned, incoherent core. Verified live on the curated
Chimera preset (2130 triangular tiles, α≈0.5, identical frequencies): a click plants a
topological phase vortex, and the incoherent core holds stable at ~1% of tiles within a
~44px radius — a tight, contiguous, persistent core in a 96%-coherent sea, the defining
chimera signature. The research was right: the spiral wants a small phase lag,
and the core is something you place "from any point." live
/sync-lab/). Evocative but accessible; the science is invited, not lectured.
live
./sync-lab/ link. 647
tests green, CI clean. resolved