Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anopara/genetic-drawing
A genetic algorithm toy project for drawing
https://github.com/anopara/genetic-drawing
Last synced: about 2 months ago
JSON representation
A genetic algorithm toy project for drawing
- Host: GitHub
- URL: https://github.com/anopara/genetic-drawing
- Owner: anopara
- License: mit
- Created: 2020-06-05T11:13:14.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-26T07:34:08.000Z (about 4 years ago)
- Last Synced: 2024-05-11T23:33:42.575Z (4 months ago)
- Language: Python
- Size: 6.31 MB
- Stars: 2,170
- Watchers: 49
- Forks: 196
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - genetic-drawing
- awesome - anopara/genetic-drawing - A genetic algorithm toy project for drawing (Python)
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:
![](imgs/img1.gif)
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 NotebookTo start, open the GeneticDrawing.ipynb and run the example code