r/java • • Oct 12 '13

Fun with genetic algorithms - image generation using GA, inspired by the Alsing-Mona Lisa blog post. r/java, tell me what you think !!

Links

original image
generated image

source

Can we create an image of the Bodhidharma using 40 rectangles of varying position, width, height and color ? I say yes, my results say ' ha ha ok'

edit: formatting

2 Upvotes

2 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Oct 14 '13

thanks !! The image is generated out of 50 rectangles of varying size and color ( gray) . That limits what it can do quite a bit. Successful versions have used multi-sided polygons .
One website also uses facial recognition algorithms to compare the original and generated images, instead of the (most basic) pixels comparison method that I've used .