This is a project made to explore genetic algorithms in programing. The main idea is to create a grid of rectangles (DNA) each with a random HEX color (Genes), and then have the grid of colors get closer to a target member with each new generation.
These instructions will get you a copy of the project up and running on your local machine.
All you need is Java installed on your computer and the latest version of Processing installed aswell.
You can change
boolean sort = true;
To
boolean sort = false;
And vice versa, to toggle the sorted or random display of colors.
- Processing - The Java framework used
- Oracle Java - Jave SE Development Kit 8
- Trevaun Turner - Initial work - BluPandaMan
- Daniel Shiffman and his YouTube channel The Coding Train for introducing me the concept and practice of genetic algorithms.