- Download and unzip this project .
- Open and execute the project. You will notice
that there are boxes on the lower left and right corners,
and there is an oval at the top center of the frame.
The frame is 500 pixels wide and 500 pixels high.
You will also notice that the positions of the objects
are now anchored at the center of that object when drawn.
- Revise the programs so that when you click on the button
on the frame, the objects will move toward the center (250,250).
The oval will move at 5 pixels per second downward.
The lower left box should move diagonally at 10 pixels/sec along both
x and y axes, while the lower right box should move diagonally
at 5 pixels/sec along both x and y axes.
All shapes should stop moving once they are at the center of the frame.