Physics
Sandbox 2D
A rigid-body workshop with a Galton board, a motor mixer and six classic scenes.

What happens
A rigid-body workshop with a Galton board, a motor mixer and six classic scenes.
The Galton bins fill from actual contacts with pegs; no distribution is prescribed. The mixer and car use torque-limited motors. Rendering adds depth, but all motion and collisions remain in the XY plane.
Choose a tool, then click the scene. G: grab; Delete: remove; H: frame. Right-drag: pan; wheel: zoom. Release a moving grab to throw.
Equations used in the module
Equations J_n ≥ 0; |J_t| ≤ μJ_n v_n′ = −e v_n I = ∫r² dm Δv = J/m; Δω = (r_x J_y−r_y J_x)/I


