This program approximates images using a genetic algorithm.
Ex.
Original | Evolution |
---|---|
Original | Evolution |
---|---|
It suports loading and saving png
files only.
Make sure you have openFrameworks installed. Clone this repository then run the project generator on the cloned repo. After that open the config.make and add -fopenmp
to both the PROJECT_LDFLAGS
and the PROJECT_CFLAGS
. The project needs openmp because the fitness calculation is multithreaded. Now you should be able to run the Makefile (this may require root access depending on how your OF is setup).
It is very easy to add to the development log thanks to the provided script gen_log.sh
. Simply run the script and it will update DEVELOPMENT.md
with all commit messages and times.