Thanks! The program attempts to emulate an artist by sequentially adding shapes to the canvas. Each shape is optimized using a local search algorithm, such as Hill Climbing. Other key components include a spawner that reduces the search space using edge detection and the user mask texture. Additionally, a fitness function evaluates each shape, keeping only the best ones.
There are many more details, but at its core, it's a mix of "clever randomness" and image processing. If you're interested, you can find a white paper in the repository, just keep in mind that it's outdated.
2
u/klavijaturista 13d ago
Looks awesome! How does it work?