A small program that generates interesting images using a simple reduce/fold.
It allows you to make pictures such as:

makeArtAndSave "Circle" (1280, 720) BottomLeft [(0,0)] 2 pickClosest brightestColor (useShape circle))
or

makeArtAndSave "Pyramid" (1920, 1080) Center [(0,0)] 2 pickClosest brightestColor . useShape . pickShapeIfYIsNegative (ellipse 5 1) $ afterN 300 (diamond 1 1) (moveShape 400 500 circle)
First you need GHC and Stack. If you don't have either, then you can download them from here.
- download the project
- open terminal in the folder of the project (not in
src/) - run
stack installto install - then run
Pretty-pictures.exeon Windows orPretty-pictureson Linux.
After that the program will be run and any pictures will be outputed into an art/ subfolder of the current folder.
You can configure what kind of picture gets drawn inside main by altering the arguments of makeArtAndSave