The goal of the project is to make program for recreating image provided by the user using graphic objects (e. g. letters, shapes, ect.) with proper parameters such as color, size, or position, in such a way to get the best recreation with the least number of used objects.
Given image:
Gif showing process of recreating given image (around 210 objects used):
For more examples see Examples
directory.
To use it, change image from picture
directory for your image, then run generator.py
file and the results will start to save in generated_im
directory.
In addition, at the bottom of generator.py
file you can change parameters of evolutionary computation.
The inspiration for creating the program was the video by Spu7Nix, showing how to recreate images and videos using objects in Geometry Dash level editor.
There are some things I would like to add to this project in the future like some small improvements, a lot of fun features, graphical interface or maybe CUDA optimization.