Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 1016 Bytes

README.md

File metadata and controls

29 lines (24 loc) · 1016 Bytes

Genetic Drawing

This is a refactor of https://github.com/anopara/genetic-drawing

@anopara inspired me to investigate about this subject. This refactor includes:

  • New Genetic Algorithm structures.
  • Support to tune operators.
  • Two notebooks to test the original algorithm against the new implementation.
  • Conda environment.
  • Logging and other tools to ease development.

You can follow up this topic at https://sgmoratilla.com/2020-06-28-teaching-a-computer-to-draw/

Python

There is a Conda environment included with this project. Just do

conda env create -n genetic-drawing -f conda-environment.yml
conda activate genetic-drawing

To start, open either of these notebooks:

  • RandomGreedyDrawing.ipynb: original algorithm reimplemented.
  • GeneticDrawing.ipynb: new genetic algorithm implementation.

Credits