Skip to content

Instantly share code, notes, and snippets.

@devin-dominguez
Last active March 11, 2023 20:33
Show Gist options
  • Save devin-dominguez/d89d96c64e11e70eb455442d22656642 to your computer and use it in GitHub Desktop.
Save devin-dominguez/d89d96c64e11e70eb455442d22656642 to your computer and use it in GitHub Desktop.
Super Simple Euclidean Rhythm Algorithm
(((stepNumber + offset) * numberOfHits) % cycleLength) < numberOfHits
true for hits, false for rests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment