This is example code for the euclidean rhythm algorithm described in the blog post:
http://www.computermusicdesign.com/simplest-euclidean-rhythm-algorithm-explained
euclidSimple.js -- a simple implementation of our euclidean rhythm algorithm. Includes an implementation of our algorithm in javascript.
simpleEuclideanRhythm.maxpat -- a basic max patch to demonstrate the functionality of euclidSimple.js.
euclidean_circular_view.pde -- A processing sketch to create circular visualizations of euclidean rhythms. Includes an implementation of our algorithm in C.
euclidean-visualization.pde -- A processing sketch to create visualizations for the blogpost.