Guided Bouncing Ball Physics Experiments
Use these four experiments to explore energy amplification, slow-motion impacts, angular spin grip, and rotating escape doors.
1. Superelastic Runaway Loop
With restitution at 1.04, every wall rebound gains 4% speed until hitting the 3x safety cap and resetting.
2. Bullet-Time 5-Ball Collisions
Slow Time Speed to 0.35x with 5 orbs so you can observe individual sphere-to-sphere impulses clearly.
3. Rotating Escape Gate Challenge
Open a 42° spinning doorway on the rim and watch multi-balls dodge and slip out as the gate sweeps beneath them.
4. Air-Damped Equilibrium
Combine e = 1.02 with Air Drag = 0.04 to watch bounce growth balance fluid resistance in steady orbit.
Bouncing Ball Physics Inside a Rotating Sphere
Unlike a flat floor where every rebound points straight upward along the y-axis, a circular or spherical arena redirects motion continuously along its inward surface normal n = (p - c) / |p - c|. Whenever an orb strikes the perimeter, the engine decomposes its velocity vector into a normal component perpendicular to the wall and a tangential component gliding along the rim.
When the coefficient of restitution e stays below 1.00, every impact converts kinetic energy into heat and sound, causing bounce height to decay exponentially. Setting e > 1.00 injects rebound energy on each strike until peak velocity hits 3.00x initial speed and triggers an automatic clean reset. Adding an optional Escape Gate Gap lets orbs exit whenever their contact normal sweeps across the spinning arc opening.
Parameter Reference Table
| Parameter | Range / Default | Physical & Visual Effect |
|---|---|---|
| Ball Count | 1 – 5 (2) | Active spheres with area-weighted pair collisions and polyrhythmic chimes |
| Gravity & Bounciness | 0–1.5 g / 0.4–1.08 | Controls downward pull and normal rebound gain or decay |
| Orb Size & Sphere Spin | 0.5–2x / ±2 rad/s | Scales collision frequency, chime pitch, and tangential rim friction |
| Escape Gate Gap | 0° – 70° (0°) | Opens a spinning doorway on the rim that respawns escaped spheres |
| Time Speed & Air Drag | 0.25–2x / 0–0.08 | Slow-motion bullet time inspection plus atmospheric speed damping |
Bouncing Ball Simulation FAQs
Why does the simulation reset at 3x speed?
Superelastic restitution above 1.00 compounds velocity exponentially; resetting cleanly at 3.00x keeps impacts visible and responsive at 60 FPS.
Does rotating the sphere actually spin the balls?
Yes. Each wall contact transfers tangential surface velocity equal to spin × radius onto the orb.
What happens when I open the Escape Gate Gap?
Balls whose contact angle passes through the spinning opening fly out cleanly and respawn near the center while incrementing the reset counter.