In 2005 the computer scientist Godfried Toussaint showed that a 2,300-year-old piece of maths, Euclid's algorithm, spreads k beats over n pulses as evenly as possible, and that the results are rhythms people actually play, from the Cuban tresillo to Bulgarian folk dances. We put Indian rhythm cycles on the same wheel. Pick a taal, press play, and see whether it lands on the even pattern.
Try k=3, n=8 (the tresillo), k=3, n=7 (Rupak and Misra Chapu), k=4, n=10 (Jhaptaal). Or tap dots on the wheel to build any rhythm and get a live verdict.
The test. Write a taal as the beats where its sections (vibhags in Hindustani music, angas in Carnatic) begin. Jhaptaal has 10 beats split 2+3+2+3, so its sections start on beats 1, 3, 6 and 8. A rhythm is Euclidean if it is a rotation of E(k,n), the most even way to place k onsets among n pulses. E(4,10) is 3+2+3+2, and turning it until it starts on the 2 gives 2+3+2+3. So Jhaptaal passes. When a taal fails, we count how many one-beat nudges of its section starts it would take to reach the nearest Euclidean pattern, and give an evenness score: 100% means as even as possible.
North India: almost perfectly even. Of the 14 Hindustani taals whose divisions we could confirm in two sources, 9 just use equal sections (Teentaal 4+4+4+4, Ektaal 2×6…), which pass automatically. The interesting ones are the five with unequal sections. Four pass: Jhaptaal = E(4,10), Rupak = E(3,7), and Jhoomra and Deepchandi = E(4,14). The odd one out is Dhamar (5+2+3+4): 2 nudges from E(4,14), which turns out to be Deepchandi's own 3+4+3+4, and 96.5% even.
A twist: count only the claps. Khali sections are shown with a wave of the hand instead of a clap. Drop them and Dhamar's claps fall on beats 1, 6 and 11 (5+5+4), which is exactly E(3,14). Teentaal goes the other way: its claps on 1, 5 and 13 (4+8+4) are 2 nudges from even. Only Dhamar, Keherwa and Dadra are Euclidean in both readings.
South India: mostly lumpy, by design. The 35 suladi sapta talas are built from three parts: a laghu (3, 4, 5, 7 or 9 beats, depending on the jati), a dhrutam (always 2 beats) and an anudhrutam (1 beat). Because the dhrutam stays at 2 while the laghu grows, most of them can't be even. Only 9 of 35 pass. Five are Eka talas, which have a single section and pass automatically. The other four are tisra jati Dhruva (3+2+3+3), Matya (3+2+3), Rupaka (2+3) and Triputa (3+2+2), where the laghu is 3 and sits right next to the 2. None of the 24 multi-part talas with a 4-, 5-, 7- or 9-beat laghu is Euclidean. The furthest is sankeerna jati Ata (9+9+2+2), 7 nudges away, and the least even is sankeerna Rupaka (2+9), at 54.6%.
Adi talam and the tresillo. Adi talam (4+2+2) is the Carnatic workhorse. Move its second section one beat earlier and you get 3+3+2, E(3,8), the Cuban tresillo that opens Toussaint's paper. The quick chapu talas, which grew out of folk music, are all Euclidean: Tisra 1+2, Khanda 2+3, Misra 3+2+2 and Sankeerna 4+5. Misra Chapu and Hindustani Rupak are both E(3,7). Toussaint lists that same necklace as a Bulgarian ruchenitsa dance rhythm.
Why it matters, a bit. Toussaint's extended paper says his model fits rhythmic timelines "from all over the world (with the exception of India)". With section boundaries as the yardstick, North Indian taals fit it very well and the anga-built Carnatic talas mostly don't. That says something about how they are built: Hindustani taals almost always mix just two neighbouring section sizes (2 and 3, or 3 and 4) and alternate them, which is exactly what Euclid's algorithm does.
| Cycle | Beats | Sections | Euclidean? | Nudges | Evenness |
|---|
Tap a row to load it on the wheel. "Nudges" is the smallest total number of one-beat moves of section starts that turns the pattern into some rotation of E(k,n) (Toussaint's swap distance, measured around the circle). Evenness is the sum of distances between every pair of section starts on the circle, divided by the same sum for E(k,n).