Labs · Physics

Rigid Circles & the Galton Board

Rigid Circles & the Galton Board simulation

The cloth demo used distance constraints between connected points. Collisions work the same way, with "stay at least r₁ + r₂ apart" as a constraint between every pair of touching circles. A spatial grid finds those pairs quickly, and repeating the solver several times per frame lets tall piles settle stably.

The Galton board scene closes a loop with Chapter 0. Each ball bounces left or right at random on every peg, and the bins fill into a binomial / normal distribution, a physical histogram.

In "Pile", click to drop balls and drag one to stir the heap. Raise the solver iterations if piles look squishy.

Controls

Evolved from Verlet Physics: Cloth & Ropes.

Evolved into Granular Hourglass.