Made by Kishan Emens, Rix Lai, Jessica Sendejo, and Joshua Kuehn
Made for OwlHacks Winter 2017 at Foothill College
This program uses the process of genetic algorithms to generate a regular polygon. It involves a process of selection and mutation to improve the accuracy of each subsequent generation. An animation of a single run can be viewed, or a timing run can be used to analyze the efficiency of various parameters.
| 3 vertices | 4 vertices | 6 vertices |
|---|---|---|
![]() |
![]() |
![]() |
pip install pipenv
pipenv run python main.py
usage: main.py [-h] [-v [VERTS]] [-p [POPULATION]]
optional arguments:
-v [VERTS], --verts [VERTS]
How many vertices should each generation run
-p [POPULATION], --population [POPULATION]
What population should each generation contain



