How can you model a bouncing ball that can both spin and not bounce as high as it started? One way is to make a ball with internal balls (connected by a spring). Here is how to build a 2 mass bouncing ball in Web VPython
Here is the first code (for a simple bouncing ball)
[ Ссылка ]
Here is the second code
[ Ссылка ]
Ещё видео!