◀ VibeCruiser

voronoi breakable

A free physics simulation — play it in your browser, no install. Breakable rigid bodies using Voronoi diagrams

by @topaz1008 · topaz1008/voronoi-breakable on GitHubLANG JavaScript★ 3HOSTED ON TOPAZ1008.GITHUB.IOUPDATED 16 Jun 2026

Vote and save it — continue with GitHub or sign in free

Made this, @topaz1008? See how many people played it → or use email

Controls: Click the canvas to drop a box · drag to aim and launch one

▶ Play full screen ▲ Vote with GitHub ▲ Vote with email

GitHub asks to share your profile and email with us. We never post anything.

Open the live demo Source on GitHub

From the README

Breakable rigid bodies simulation using Voronoi diagrams.

Built with the matter.js physics engine and d3-delaunay for computing Voronoi diagrams on the fly.

On every qualifying impact the body is fractured in real time: Voronoi sites are sprayed across the body in its local frame, clustered around the contact point for a radial shatter pattern, and each cell becomes a new rigid body that inherits the velocity of its material point (v + ω × r). Fragments are texture-mapped so the shards visually reassemble the original body, and large fragments can break again recursively.

Read the full README on GitHub →

Built something like this? Submit your vibe — free account, takes a minute. How listing works.

More like this

Made this?

Claim it: create a free account, then press CLAIM THIS in the cruiser. Put the badge below in your README or on your demo page first; that link is how we know it's yours.

Your project is on the cruise, loaded live from your own site. Put the badge in your README or on the demo page: it shows your live play count, it links back to this page, and everyone who lands here is one click from running the real thing.

On VibeCruiser

How listing, the badge and claiming work →