Generative artist and programmer David Bollinger uses math and algorithms to create artwork. This illustration reflects n-unit cubes recursively subdivided based on patterns defined by the greatest common divisor among the coordinate axes.
Credit: David Bollinger
Combining the paradigm features of both logic and functional programming makes for some powerful implementations.