Home

Awesome

Genetic Drawing

This is a toy project I did around 2017 for imitating a drawing process given a target image (inspired by many examples of genetic drawing on the internet, and this was my take on it, mostly as an exercise).

Due to a popular request, it is now opensource 🙂

Examples of generated images:

<img src="imgs/img2.gif" width="380">

It also supports user-created sampling masks, in case you'd like to specify regions where more brushstrokes are needed (for ex, to allocate more finer details)

<img src="imgs/img3.gif">

Python

you would need the following python 3 libraries:

To start, open the GeneticDrawing.ipynb and run the example code