Lab Exam 3 Practice Questions

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

turtlelab

OK, here:

review1


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()!

pixel-reversal