While reading the introductory material in The Intelligence Illusion I noticed that the illustrations were generated in part with this little tool called Geometrize. The rationale for using it was to show that it’s possible to generate images with algorithms without resorting to stealing other people’s images to do it.

Geometrize automatically generates random rectangles, triangles, circles, ellipses, rotated ellipses, lines and beziers to approximate an original image using a hill climbing algorithm. It’s written in a language I’ve never heard of called Haxe which uses a compiler written in OCaml to compile to JavaScript, C++, Java, PHP, C#, Python and Lua.