Euclidean rhythm grid

Distribute hits evenly across a step cycle, rotate the pattern and inspect hit positions and cyclic gaps as a text grid.

The example value has been entered. Check it immediately or change the value.

Input is processed in the browser. Refreshing returns a sample value.

Result

Instructions and example

hit[i]=((i×hits) mod steps)<hits; rotate right; compare cyclic gaps

8 steps, 3 hits and rotation 0 produce x..x..x., positions 1,4,7 and cyclic gaps 3,3,2.

1–128 steps, integer hits from 0 to the step count. Modular even distribution and rotation only; no audio, MIDI, accents or time-signature generation.

Frequently asked questions

How is a rhythm with 0 hits displayed?

Every step is a rest dot; hit positions and cyclic gaps are shown as undefined.

Is a Euclidean rhythm’s starting position unique?

No. Rotations give different written starts for the same cyclic pattern. This tool rotates right from its stated modular construction.

Calculation criteria and reference materials

Verification of calculation criteria: · Calculation·verification principles · Report errors