Planning
I hope the ball to be a soft but flexible one.
Usually this kind of balls lose energy quickly and stretch a lot. And there are some physical formulas that can describe these characteristics, but I’m just setting a simple parameter:
Every time the ball bounce, height reduces to 2/5 of the previous time, and time(frames) reduces to 1/2 of the previous time.

During the planning process. I’m a little tired of having to stretch the ball both before and after it touches the ground. That looks just like a balloon filled with water.
Therefore, I removed the stretching of the ball before it landed to make it more resilient.
George had a few feedback on this homework:
- It is necessary to check whether the ball is on the parabola at each moment.
- I should maintain the deformation of the ball as it falls.
- The small ball usually rotate back a little after reaching the terminal.
Here is homework based on the feedbacks.