MOSAICS WITH A GENETIC ALGORITHM IN PYTHON+TKINTER
By: Aldo Gonzalez
Saint Norbert College Senior Capstone Project - Spring 2021


SET-UP
1. Have you ever coded in Python? Great! Then just open "Main.py" in your preferred IDE!

Never coded in Python? Here's one tutorial to set it up in VSCode
https://code.visualstudio.com/docs/python/python-tutorial
Once done, you can also open it

2. Run it by clicking "run and debug" on the left panel (if in VSCode)

3. Now you can make code edits, run it, and see fitness score updates in the console!


FITNESS FUNCTION CHANGES
-want differently sized packets of pixels? change the ps1 and ps2 variables! Just make sure ps1 is half of ps2. ps2 is the main one (i.e., if ps2=2, the packets are 2x2)
-want pixel-by-pixel instead of packets? go to the main() function and replace fitness2() with fitness()!





