Using Sonic Pi Again to make algorithmic composition, using certain Euclidean Rhythms to provide a more world type field : youtu.be/T6QSe9fuGyw?t=252
Euclidean Rhythms As stated in the Abstract of the Paper , The Euclidean Algorithm Generates Traditional Musical Rhythms Godfried Toussaint
The Euclidean algorithm (which comes down to us from Euclid’s Elements) computes the greatest common divisor of two given integers. It is shown here that the structure of the Euclidean algorithm may be used to generate, very efficiently, a large family of rhythms used as timelines (ostinatos), in sub-Saharan African music in particular, and world music in general. These rhythms, here dubbed Euclidean rhythms,have the property that their onset patterns are distributed as evenly as possible. Euclidean rhythms also find application in nuclear physics accelerators and in computerscience, and are closely related to several families of words and sequences of interest in the study of the combinatorics of words, such as Euclidean strings, to which the Euclidean rhythms are compared. - Toussaint
More can be seen here : cgm.cs.mcgill.ca/~godfried/publications/ban..