Lab Exam 3 Practice Questions

1. Write a Turtle object program to reproduce this image:


OK, here:


2. Write a program that reverses an image from left-to-right pixel-by-pixel (there are more efficient and simpler ways to reverse an image, but the point here is to be familiar with accessing and changing images at the pixel level.

Reminder: don’t try to loadPixels() in preload()!