Nathan, check out this processing sketch

- https://github.com/feltron/MMa