Presets
Playback
Setup
Parameters
Camera
Layers
Quality
Model check
The science
What is simulated
Eleven glass marbles (radius R = 12.5 mm, mass 20.4 g) and a chrome shooter roll on a felt table with rubber cushions. Each marble is a rigid solid sphere with a position, a velocity and a full 3D spin. A fixed 0.8 ms step advances every marble; sliding, rolling, marble-marble impacts and cushion impacts are separate, exactly solved pieces.
Friction on the felt
The contact point of a marble with the table moves at the slip velocity u = v - R (w x z). While u is not zero the felt pulls with Coulomb friction F = -mu m g u/|u|. For a solid sphere (I = 2/5 m R^2) both the speed and the spin change so that du/dt = -(7/2) mu g u_hat: the slip dies out after t = 2|u0|/(7 mu g), a ball hit without spin ends up rolling at 5/7 of its first speed after travelling 12 v0^2/(49 mu g). After that only rolling resistance acts, a constant deceleration mu_r g. A pivoting torque slowly removes spin about the vertical axis (an assumed constant torque, 0.5 mu m g R).
The kick
The rod delivers an impulse J along the aim direction at height h above the centre and offset a to the left: v = J/m, w = (5J/(2 m R^2)) (h e_left - a z). Striking at h = 2R/5 (the centre of percussion of a sphere) makes v = wR, so the marble rolls at once. Higher gives follow (topspin), lower gives draw (backspin), a side offset gives sidespin. The rod is drawn as a visual only, the impulse is applied at its contact time.
Marble-marble impacts
Along the line of centres n the impulse is Jn = (1+e) m_red v_n with m_red = m1 m2/(m1+m2). Across it, Coulomb friction acts at the contact point, Jt = min(mu_b Jn, m_eff |u_t|) with 1/m_eff = (1/m1 + 1/m2)(1 + 1/0.4). It changes both velocity and sidespin, which is why a spinning marble "throws" its target a little off the line of centres. Equal marbles hit without friction and with e = 1 separate at exactly 90 degrees.
Cushions and pockets
The cushions use the same idea with an immovable wall: restitution e_w, tangential friction 0.15, and a horizontal slip that includes sidespin. A marble whose centre comes within 24 mm of a corner point is potted. The shooter is replaced behind the baulk line.
Simplifications
- Marbles stay on the felt: no bounce, no vertical contact impulses (so topspin and backspin do not change how marbles collide), no deformation of the felt.
- Friction coefficients are constants. In real life they depend on speed and on the felt; the values here are typical and meant for exploring, not measured.
- Restitution is velocity independent; real glass is slightly less elastic at high speed.
- Impacts are instantaneous and pairwise, so a very fast three-marble pile-up is resolved one pair at a time.
- The predicted path of the shooter is the same simulation run alone up to the first marble it touches.
How to read the checks
The five boxes below the controls run the same functions the page uses and compare them with closed forms (slide-to-roll time, distance and speed; the velocity exchange in a head-on hit; the 90 degree rule; conservation of vertical angular momentum with friction; the centre of percussion and the rolling distance). They are evaluated every time the page loads.