I converted my Processing app into a Max for Live MIDI Device. So this does not generate sound, just MIDI notes. You can position notes in the grid from a sin function. Rotate them around to simply create all sorts of patterns. The demos below were created by sending the midi to Live’s Scale Device then into Live’s Collision Device.
FlexibleGrid-0.2.amxd | MaxGridInstrument.adg
Can also be found here: http://www.maxforlive.com/library/device.php?id=78
demo1.mp3 | demo2.mp3 | demo3.mp3 | demo4.mp3
More patches from the ableton forum: ML-185 | Monolake’s Sequencer

Very cool! Thanks for making this.
I think it’s missing a png, however. Perhaps you should freeze it?
Best,
Dennis
The png issue is fixed. I posted in the bug and discussion forum about this png issue.
http://forum.ableton.com/viewtopic.php?f=35&t=129535
http://forum.ableton.com/viewtopic.php?f=36&t=129616
And thank you by the way!!