SFML community forums

General => SFML projects => Topic started by: Sub on September 26, 2015, 11:26:32 pm

Title: American Gothic in the Palette of Mona Lisa…
Post by: Sub on September 26, 2015, 11:26:32 pm
Disclaimer:  I made this a while ago, and it was a one off low effort type of thing.  What I'm trying to say is that the code quality is pretty awful, even by my standards, but I've decided to go ahead and throw it out there anyway. 

I saw this post (http://codegolf.stackexchange.com/questions/33172/american-gothic-in-the-palette-of-mona-lisa-rearrange-the-pixels) and decided that it would be a fun challenge.  The task is to create a program which takes two images and attempts to recreate the second image by rearranging the pixels of the first image.

(http://www.danieljosephpetersen.com/images/projects-gothic-1.png)
(http://www.danieljosephpetersen.com/images/projects-gothic-2.png)

The code:  https://github.com/DanielJPetersen/American-Gothic-in-the-Palette-of-Mona-Lisa
Title: American Gothic in the Palette of Mona Lisa…
Post by: eXpl0it3r on September 27, 2015, 09:50:06 am
Cool!

I've seen the post you linked and a few implementations, nice to see one using SFML. :)