Update to Danny’s “Mirror Filter”

In our final lab on December 7th, we were putting the final touches on all our filters and compiling them into one code file. Danny had written what he called the “Mirror Filter” which was eventually to be the section swap filter in our final. I thought that it could be a little glitchier, so while he and Molli were discussing how to make the weather filter be a bit more glitchy, I went and edited his code just a small bit. Instead of mirroring the top into the bottom, now it cuts the image into 4 different sections. On a picture with a square aspect ratio, the middle section is largest and basically unchanged, the bottom section is the second largest and flipped, and the top two sections are the smallest and one is upright and the other is flipped. On a picture with a rectangular aspect ratio, it does the same thing but also cuts some sections vertically instead of horizontally. I just changed the target to divide by 4 and subtract 1 each time instead of the target subtracting 1.

Leave a Reply