Home▸Physics & Mechanics▸Fracture Simulation (2D)

Fracture Simulation (2D)

2D companion to the 3D Voronoi fracture simulator: click an object to shatter it into physically simulated fragments, tune cell count, impact force, gravity and restitution across six materials.

Physics & Mechanics2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-fracture ↗ Open standalone

A 2D companion to the 3D Voronoi fracture simulator: click an object to split it into cells and launch each fragment away from the impact point, or hit Explode to shatter every object on screen at once. Tune the cell count, impact force, gravity and restitution, and pick from six materials — glass, concrete, ice, ceramic, metal and wood.

⚙ Under the hood

A Voronoi diagram splits the clicked object into convex cells by clipping it against the perpendicular bisector of every pair of seed points, then each cell becomes an independent rigid fragment launched at speed proportional to impact force and inversely to its distance from the impact point, falling under gravity and bouncing off the floor with the chosen restitution.

fracturevoronoirigid bodybrittle materials2dcanvas 2d

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

What did you find?

Add reproduction steps (optional)