Home▸Physics & Mechanics▸Physics Playground: Soft and Rigid Bodies (2D)

Physics Playground: Soft and Rigid Bodies (2D)

The same playground seen head-on: Blender-rendered steel and wood disc sprites that spin with the model, soft balls drawn from their 20 ring nodes with the rendered face clipped inside, a ramp, a bin, and a scoreboard of energy budget, measured rebound, contact time and ball squash. Same physics and numerical checks as the 3D version.

Physics & Mechanics2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Physics Playground: Soft and Rigid Bodies (2D) ↗ Open standalone

A physics playground where rigid steel and wooden discs meet soft gas-filled balls. Rigid bodies use impulse contacts with Newton restitution, Coulomb friction and spin; a soft ball is a ring of 20 point masses held by springs and filled with isothermal gas, P = C / A, that stiffens as it is squeezed. Drop a steel disc, a wooden disc, a soft ball and a firm ball from the same height and compare their rebounds and contact times, race a rolling disc against soft balls down a ramp, fire a soft ball into a steel disc, or pour a mixed pile into a bin. Change the gas pressure, shell stiffness, shell damping, restitution, friction, gravity, drop height and ramp angle, and read the energy budget (kinetic, gravitational, shell, gas, dissipated). The display case is built in Blender (wood platform, gridded back panel, aluminium frame, ramp, steel and wood discs). Numerical checks on free fall, restitution, the rolling acceleration (2/3) g sin(theta), the pressurised ring's radial balance, symplectic energy conservation and momentum conservation in a soft-rigid collision.

⚙ Under the hood

The same playground seen head-on: Blender-rendered steel and wood disc sprites that spin with the model, soft balls drawn from their 20 ring nodes with the rendered face clipped inside, a ramp, a bin, and a scoreboard of energy budget, measured rebound, contact time and ball squash. Same physics and numerical checks as the 3D version.

Soft BodyRigid BodyRestitutionPressure ModelRolling FrictionImpulse ContactsEnergy ConservationPhysics Playground

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)