pub fn euclidean_pattern(
num_steps: u8,
num_beats: u8,
rotation: u8,
padding: u8,
) -> u32Expand description
Return the Bjorklund/Euclidean pattern for num_beats in num_steps as a bitmask.
Bit N is set if step N fires. rotation offsets the pattern; padding extends the
effective width for rotation without changing the number of active steps.