Skip to content

sgmoratilla/genetic-drawing

 
 

Repository files navigation

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

About

A genetic algorithm for drawing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 85.4%
  • Jupyter Notebook 14.6%