CE 433 2023 Spring
Lab 6
Name: Anders Burdick-Levang

Email: aaburdicklevang@fortlewis.edu

Lab  #6


1. Draw a green line on a white background on the monitor. (25 points)






2. Draw an additional red bar on the monitor (25 points)

The red bar has the following boundaries: X: 600 - 605; Y: 200 - 250

The following lines of code were added to the code above:





3. Move the red bar to the right (horizontally) by 1 pixel for every 0.5 second. (25 points)




4. Bounce it back and forth between the green line and the X location of 600. The speed is 0.01s/pixel. (25 points)