Skip navigation
using an evolutionary algorithm to paint Mona Lisa in 200 rectangles—
0:00 / 1:02

using an evolutionary algorithm to paint Mona Lisa in 200 rectangles—

Matt DesLauriers

@mattdesl61K followers

Visit on X
529 likesDownloadOriginal post

30,386 views

using an evolutionary algorithm to paint Mona Lisa in 200 rectangles— 🔧 source code in JS:

6 Comments

Comments from the original post on X (Twitter)

  • Rainmaker's profile picture

    @RainmakerTrade

    🚀 Discover how Reinforcement Learning can transform trading strategies! Check out my free Substack for full code and backtest of the completed Q-learning algorithm. Don't miss out! 📈✨

    42 likes

  • artur's profile picture

    @tmuxvim

    that’s cool af

  • emily's profile picture

    @evergeenwings

    Mona Jesus

  • Maynard(, Eli)'s profile picture

    @Quelklef

    why do they not end up with zero white space?

  • Matt DesLauriers's profile picture

    @mattdesl

    You mean the small white gaps? Two things contribute: the background color, and the fact that the optimization happens on a much smaller canvas size than final rendering. Using magenta as background reduces the gaps; black background increases the gaps as it embraces them.

    2 likes

  • Odds's profile picture

    @OddsIsOnline

    Oh sick! I did something similar a while ago with an MLP.