Back to Sandbox

Physics playground

Matter.js physics simulations with interactive object manipulation.

View source

Controls(0 bodies)

Scene
Spawn Shape (click to spawn)
Gravity1.0
Friction0.30
Bounce0.60
Time Scale1.0x
Actions
Space: pause | C: clear | R: reset | D: debug | T: trails
Space Pause/ResumeR ResetC Clear1-5 ScenesQ/W/E ShapesD DebugT Trails[ ] Time Scale

About this experiment

Physics simulations powered by Matter.js demonstrate realistic rigid body dynamics including gravity, collisions, friction, and constraints. Click to spawn objects, drag to manipulate them, and explore different presets to see various physical behaviors in action.