prompt:write a Python program that shows a ball bouncing inside a spinning hexagon. The ball should be affected by gravity and friction, and it must bounce off the rotating walls realistically
在另一个演示中,更加复杂,不仅要考虑小球与墙壁的碰撞,还要考虑不同小球之间的相互碰撞。
prompt:Simulate multiple small balls bouncing inside a spinning rectangle. The balls should collide with each other and the walls