Random Art Generator
Github Download:
![]() |
---|
![]() |
![]() |
![]() |
![]() |
![]() |
How to use

The program will generate however many pictures the user specified, however it also auto generates a text file. Inside the text file, the equation for each of the image files are stored. With the equations, you can now delete all image files if you do not wish to use it immediately.
File Regeneration

This part assumes that you have an auto-generated text file that contains equations from earlier images. With just the text file, we can re-create the image file.


The regeneration functionality allows the users to save hardisk space by exporting the exact equations needed to reproduce these images into text.

How was it done
The core part in the random generation program relies on a recursive function that builds its own mathematical equation. The complexity of the equation is set by the user through the recursive settings in the application window. Then, with the set number, the application loops over itself, appending a random math function to a random operator resulting in a string of randomly generated math equation.
​
The generator was made from a skeleton file provided here: http://nifty.stanford.edu/2009/stone-random-art/

I then designed a user interface to pair with the python functions through the use of a super class. Here, the method resolution order is used to distinguish the ui file as a parent so that future iterations can inherit the main ui window.

