A. copy the good part of the temple pediment to the broken part. (the program copies color from the pixels on the good part and copies them across the mirrorpoint to create the effect of a fixed temple)
B. copy the broken part of the temple pediment to the working part(the order of pixels was swapped in the bottom.
(setColor(p,getcolor(p2))
C. not sure
D. mirror input from rt to left
E. mirror input from left to rt(same as temple program)
lindsay
Look REMOVED carefully at C, D, and E. Mark Guzdial
1. Mirror the input picture's leftmost 20 pixels to pixels 21 to 40: represented by E
2. Copy the good part of the temple to the broken part: represented by A
3. Copy the broken part of the temple to the working part: represented by B
4. Mirror the picture left to right: represented by C
5. Mirror the picture right to left: represented by D
One question: On the printed study guide, 4 and 5 both say mirror left to right so we assumed that 4 was right to left. -Steph and La
Sorry for the typo. REMOVEDts all assume that 4 is right to left. Looks like you guys have the right idea. Everyone else agree? Kelly Farrell
Rather than just posting answers, how about if someone expains what each code does...anyone want to give it a shot? Brittany Selden