Rewrite Exercise so that the ball’s opacity is changed as it swings.
Write a program that animates a palindrome swing as shown in Figure. Press/release the mouse to pause/resume the animation.

We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.