For anyone interested in the techniques behind the Digital Grotesque project and others by Michael Hansmeyer / Benjamin Dillenburger, check out these course pages from ETH Zürich with Processing scripts:
http://www.caad.arch.ethz.ch/blog/high-resolution-2-materialise/
http://www.caad.arch.ethz.ch/blog/high-resolution-architecture-sacred-spaces/
More of the theory behind it is described in the article “Mesh Grammars –
Procedural Articulation of Form”:
https://cumincad.architexturez.net/system/files/pdf/caadria2013_259.content.pdf