Presets
Playback
Parameters
Camera
Layers
Quality
Model check
The science
What is modelled
A glass marble is released at the top of a toy marble run: a straight ramp, a smooth curve into a flat section, a full vertical loop, a short flat and an exit ramp that throws the marble towards a catch cup. The marble rolls on two rails, so the way it turns is slightly different from a ball rolling on a plane. The rails, sleepers and supports are generated from the same path that the physics uses, so the picture shows exactly the track being simulated; the marbles, hopper, cup, base board and room are Blender-built models.
Equations
- A marble of radius r on rails with gap w touches the rails at distance w/2 from its centre line, so it rolls about a circle of radius
ρ = √(r² − (w/2)²). Its inertia factor isK = I/(mρ²) = (2/5) r²/ρ²(0.4 on a plane, larger on narrow-contact rails). - Along the track:
d²s/dt² = (−g sinθ − friction) / (1 + K), where θ is the slope angle. Friction is rolling resistanceCrr N/mplus air drag½ ρair Cd A v²/m(Cd = 0.47). The mass drops out without friction and drag. - Rail reaction:
N = m (v² κ + g cosθ)with κ the signed path curvature. In the loop the marble stays on the rails while N ≥ 0; at the top this meansv² ≥ g R. Without losses, energy conservationm g H = 2 m g R + ½(1 + K) m v²gives the minimum start heightHmin = R (2.5 + K/2). - If N becomes negative the marble leaves the rails and flies as a projectile with drag; at the end of the track it also flies on a parabola into (or past) the cup.
Checks run in the page
- Energy conservation: loop-bottom speed against sqrt(2gH/(1+K)).
- The simulated minimum loop height (bisection on full runs) against R(2.5+K/2).
- Rolling down the ramp: time for 0.5 m against sqrt(2s/a) with a = g sinθ/(1+K).
Honest simplifications
The track is planar: the real loop shifts sideways by a few centimetres so the marble does not hit the entry rails, but the physics ignores that small lateral slope. The marble is held on the rails laterally without any rattle, rolling resistance is a single coefficient, there is no slipping, no marble-to-marble contact (several marbles run independently), and the cup is treated as a circle with no rim bounce. Spin-off from the rails at the top of the loop is the simple N < 0 test, not a contact simulation.
What to try
- Choose the Start too low for the loop preset and watch the marble drop away from the top; then raise the start height until the green dot in the right graph is above the yellow line.
- Try the Steel ball preset: the heavier ball follows almost the same path, because the mass cancels.
- Narrow or wide rails change K and so the speed.
- Set rolling resistance high: the marble may not even reach the end.