Video Mirrors

When we were studying the pixel array, I decided to make some video mirrors. I was interested in having part of my body be in one place and part of it be in another place, so I started by making a mirror that divides you into vertical strips and displays half of them upside down. I used the modulus to divide the screen into strips. I love the modulus now; it’s my programming best friend.

After that, I wanted to make a more elaborate mirror with the same concept, reversing you on both the horizontal and vertical axes. I got the effect below when I was trying and failing to make a checkerboard pattern, but I think this looks more interesting anyway: