Posts tagged with genetic-algorithm

  • Python to Rust: Porting My Genetic Art Algorithm

    Thumbnail for Python to Rust: Porting My Genetic Art Algorithm

    One of the first posts on this blog showed how to implement a genetic algorithm in Python. Revisiting that project, I realized it is an ideal candidate to port to Rust: it is computationally heavy, and touches on performance, parallelism, and data structures. In short, a good excuse to finally...

  • Minimalist Art Using a Genetic Algorithm

    Thumbnail for Minimalist Art Using a Genetic Algorithm

    While the genetic algorithm in the previous post worked very well, it didn’t quite produce the style of minimalist artwork I was trying to achieve. Furthermore, it didn’t allow the chromosomes to evolve using duplication and deletion of existing genes (which is very common in biology). So after mulling over...

  • Genetic Art Algorithm

    Thumbnail for Genetic Art Algorithm

    Genetic algorithms are fun, they require a different way of thinking. Here I’ll guide you through my process of building an algorithm that evolves 150 random triangles into a famous piece of art. The work I picked to re-draw: Van Gogh’s The Starry Night. The original and the version the...