Illustration Credit |
Your final assignment is to create this animation in LOGO. Notice that you have to control movement in two directions. You actually only need one variable, but you will add to it in one loop and subtract from it in another loop. It may be easier though to use two variables (one for each box). With the one variable version you simply select a middle point and use the variable to offset the location of the box from that point. |