Progress_Flag_Checkbait

What I am about to show you is nothing short of amazing. The method used to combine the XOR checkerboard is theoretically simple, but implementing it in code is not!

First, you should see the original Progress Flag image I designed in Inkscape:

Then you can look at how it is when the XOR checkerboard is drawn on top of it. This inverts the colors where the pattern covers it.

This was achieved by use of direct pixel access on an SDL surface using my own custom checkerboard drawing function. A lot of error checking went into it! But all the work was worth it because now I have something beautiful beyond comprehension!

Comments

Leave a comment