I stumbled across this Youtube videos on Modwiggler where creator Erik Hinton writes a program to figure out what settings on the Nibbler will generate specific Clave rhythms (referenced in the Godfried T. Toussaint "Geometry of Musical Rhythm" book).
In the second one he references "Blue Rondo A La Turk" by Dave Brubeck (which I am coincidentally trying to learn on piano these days).
Hopefully he will keep going down this wormhole as I'm finding this fascinating, now I have some new patches to try!