using an evolutionary algorithm to paint Mona Lisa in 200 rectangles—
Matt DesLauriers
Visit on X@mattdesl61K followers
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)

@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

@tmuxvim
that’s cool af

@evergeenwings
Mona Jesus

@Quelklef
why do they not end up with zero white space?

@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

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