A parallel genetic algorithm for Roger Alsing’s EvoLisa problem (triangles)
Genetic algorithms can solve a multitude of optimization problems by the digital modeling of natural selection, mutation and recombination. This algorithm attempts to draw a faithful representation of the Mona Lisa using only a few triangles. It is implemented in C++ and OpenGL and takes less than 400 lines of code. It is also a parallel implementation of a genetic algorithm, therefore it uses multiple CPU cores. The entire code is available for download below.
Code and details for this project are available here:
http://cg.tuwien.ac.at/~zsolnai/gfx/mona_lisa_parallel_genetic_algorithm/
Roger Alsing’s original work:
Subscribe → http://www.youtube.com/subscription_center?add_user=keeroyz
Web → https://cg.tuwien.ac.at/~zsolnai/
Twitter → https://twitter.com/karoly_zsolnai



![Private: [ID: f0Uzit_-h3M] Youtube Automatic](https://voxelvid.com/wp-content/uploads/2025/11/private-id-f0uzit-h3m-youtube-au-236x133.jpg)
![Private: [ID: rskdLEl05KI] Youtube Automatic](https://voxelvid.com/wp-content/uploads/2025/11/private-id-rskdlel05ki-youtube-a-236x133.jpg)
![Private: [ID: LU3pdWTD4Rw] Youtube Automatic](https://voxelvid.com/wp-content/uploads/2025/11/private-id-lu3pdwtd4rw-youtube-a-236x133.jpg)
![Private: [ID: HOLoPgTzV6g] Youtube Automatic](https://voxelvid.com/wp-content/uploads/2025/11/private-id-holopgtzv6g-youtube-a-236x133.jpg)
![Private: [ID: 2i1hrywDwPo] Youtube Automatic](https://voxelvid.com/wp-content/uploads/2025/11/private-id-2i1hrywdwpo-youtube-a-236x133.jpg)
![Private: [ID: SmyiKmfnbhc] Youtube Automatic](https://voxelvid.com/wp-content/uploads/2025/11/private-id-smyikmfnbhc-youtube-a-236x133.jpg)
![Private: [ID: dH1s49-lrBk] Youtube Automatic](https://voxelvid.com/wp-content/uploads/2025/11/private-id-dh1s49-lrbk-youtube-a-236x133.jpg)
![Private: [ID: L7MOeQw47BM] Youtube Automatic](https://voxelvid.com/wp-content/uploads/2025/11/private-id-l7moeqw47bm-youtube-a-236x133.jpg)
![Private: [ID: kQ2bqz3HPJE] Youtube Automatic](https://voxelvid.com/wp-content/uploads/2025/11/private-id-kq2bqz3hpje-youtube-a-236x133.jpg)
![Private: [ID: r52zC2VpMng] Youtube Automatic](https://voxelvid.com/wp-content/uploads/2025/11/private-id-r52zc2vpmng-youtube-a-236x133.jpg)