Mirrors
Posted: Nov 14th, '15, 19:06
I created a new extension that, given a pixel, returns the X and Y positions of the pixel. This allows you to walk through each pixel, ask it its x and y, then do something based on that. One of the most fun things to do with it is mirroring.
Turns: into: The attached "mirrors.gpp" project includes as specialized blocks copying top to bottom, mirroring top to bottom, and copying left to right.
Given these patterns, it's an interesting exercise to figure out mirroring bottom to top and mirroring right to left.
All of these divide by 2 to get the mirrorpoint. Have students divide by 3 or 4. What's that doing?
Turns: into: The attached "mirrors.gpp" project includes as specialized blocks copying top to bottom, mirroring top to bottom, and copying left to right.
Given these patterns, it's an interesting exercise to figure out mirroring bottom to top and mirroring right to left.
All of these divide by 2 to get the mirrorpoint. Have students divide by 3 or 4. What's that doing?