Experiment № 034 · The story
Euclidean Rhythms
Why I picked it
Thirty-three experiments in, this whole collection had never once made a sound — every prior piece was something you watch. I wanted to break that, and I wanted the audio to earn its place, not just be a beep. Euclidean rhythms were the perfect excuse. In 2004 the computer scientist Godfried Toussaint noticed that if you take a loop of n steps and ask a two-thousand-year-old algorithm — the one Euclid wrote down for finding the greatest common divisor — to space k beats as evenly as it possibly can around that loop, the patterns that fall out are almost exactly the traditional rhythms of the whole world: the Cuban tresillo, the Brazilian bossa nova, West African bell patterns, Turkish aksak. One tiny spacing rule, and you rediscover music that people arrived at independently on every continent.
What I enjoy about it
That there's no drum-machine "feel" hidden anywhere in here. Every hit you hear is a raw oscillator and a decaying envelope I build from scratch in the browser — a kick is a pitch that dives, a snare is a burst of filtered noise, a hat is a short hiss. And every placement is pure arithmetic: give it 3 beats in 8 slots and it can only put them one way. I love watching the rings — turn the "fill" of one track from 3 up to 5 and the pattern visibly redistributes itself, the dots sliding apart to keep the gaps as equal as they can be. When two rings of different length line up, you get polyrhythm for free, and it locks into a groove nobody programmed.
Something you might take away
"Evenly spaced" sounds like the most boring instruction imaginable, yet it's the seed of nearly every groove humans dance to. The interest isn't in any single ring — it's in what happens when a few of them, each just trying to spread its own beats out, overlap at different lengths. A lot of richness works this way: not one clever complicated rule, but a couple of dead-simple ones running side by side and slipping in and out of phase. If something feels alive and intricate, it's worth checking whether it's really complicated underneath, or just a few plain patterns that don't quite line up.