# genetic-drawing
**Repository Path**: leeming751/genetic-drawing
## Basic Information
- **Project Name**: genetic-drawing
- **Description**: A genetic algorithm toy project for drawing
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-06-09
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# 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:

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)
## Python
you would need the following python 3 libraries:
* opencv 3.4.1
* numpy 1.16.2
* matplotlib 3.0.3
* and Jupyter Notebook
To start, open the GeneticDrawing.ipynb and run the example code