Generative Art with Haskell I

Some years ago I participated in a program at “RC,”, the Recurse Center. This is repost my time there. I had resurrected an old generative art repo which sets up a stack project for the artwork described in the post by Benjamin Kovach.

If you clone the repository and follow the directions, you should produce an image like the ones below. Note how one can change the character of the work by change the parameters. Version 1 uses the original parameters in Kovach’s code. The parameters in version 2 were arrived at by experimentation with both color and the size of the squares. I also used a color picker. The plan is to use this as a starting point and study piece for producing something original and quite different. But I first have to understand how images are generated using Haskell.

PS. Please be sure to install Cairo for this project.

Version 1
Version 1
Version 2
Version 2