{"id":15597339,"url":"https://github.com/topaz1008/voronoi-breakable","last_synced_at":"2026-07-04T01:05:48.453Z","repository":{"id":82298482,"uuid":"588585243","full_name":"topaz1008/voronoi-breakable","owner":"topaz1008","description":"Breakable rigid bodies using Voronoi diagrams","archived":false,"fork":false,"pushed_at":"2024-02-19T07:47:32.000Z","size":134,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T10:13:02.280Z","etag":null,"topics":["delaunay-triangulation","javascript","matter-js","physics-simulation","simulation","voronoi-diagram"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/topaz1008.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-13T13:39:28.000Z","updated_at":"2023-02-20T11:54:38.000Z","dependencies_parsed_at":"2024-11-21T06:52:00.090Z","dependency_job_id":null,"html_url":"https://github.com/topaz1008/voronoi-breakable","commit_stats":{"total_commits":16,"total_committers":1,"mean_commits":16.0,"dds":0.0,"last_synced_commit":"95bc130d2467c042769b0ccb3460d7dbb99ce15e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/topaz1008/voronoi-breakable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topaz1008%2Fvoronoi-breakable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topaz1008%2Fvoronoi-breakable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topaz1008%2Fvoronoi-breakable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topaz1008%2Fvoronoi-breakable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/topaz1008","download_url":"https://codeload.github.com/topaz1008/voronoi-breakable/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topaz1008%2Fvoronoi-breakable/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271222861,"owners_count":24721547,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["delaunay-triangulation","javascript","matter-js","physics-simulation","simulation","voronoi-diagram"],"created_at":"2024-10-03T01:21:26.406Z","updated_at":"2026-07-04T01:05:48.448Z","avatar_url":"https://github.com/topaz1008.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"voronoi-breakable\n========================\n\nBreakable rigid bodies simulation using Voronoi diagrams.\n\nBuilt with the [matter.js](https://github.com/liabru/matter-js) physics engine and [d3-delaunay](https://github.com/d3/d3-delaunay)\nfor computing Voronoi diagrams on the fly.\n\nOn every qualifying impact the body is fractured in real time: Voronoi sites are\nsprayed across the body in its local frame, clustered around the contact point for a\nradial shatter pattern, and each cell becomes a new rigid body that inherits the\nvelocity of its material point (`v + ω × r`). Fragments are\ntexture-mapped so the shards visually reassemble the original body, and large\nfragments can break again recursively.\n\n## Demo\n\n[Live demo](https://topaz1008.github.io/voronoi-breakable/) — two boxes are shot at each other on load.\n\nControls:\n\n* **Click** the canvas to drop a box.\n* **drag** to aim and launch one.\n* `B` shoot boxes, `R` reset, `P` pause.\n* The panel (top right) controls material (checkers / stone / wood / glass),\n  shard count, impact focus, break threshold, recursion, slow motion, screen\n  shake, particles and gravity.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftopaz1008%2Fvoronoi-breakable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftopaz1008%2Fvoronoi-breakable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftopaz1008%2Fvoronoi-breakable/lists"}