liabru/matter-js

a 2D rigid body physics engine for the web ▲● ■

View on GitHub ↗Jump to charts ↓

liabru/matter-js has 18k+ stars and 1.5k+ forks on GitHub, is written in JavaScript, and was last pushed on Sep 30, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 28 minutes ago
Added to GitGenius on September 23rd, 2026
Created on February 19th, 2014
Open Issues & Pull Requests: 279 (+0)
GitHub issues: Enabled
Number of forks: 1,996
Total Stargazers: 18,480 (+0)
Total Subscribers: 240 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.9 days
Mean response time: 108.2 days
90th percentile: 316.7 days
Tracked items: 44

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 38
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,085 days
Stale 30+ days: 37
Stale 90+ days: 37

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • investigate (7)
  • question (4)
  • feature-request (3)
  • bug (2)
  • need-more-info (2)
  • improve (1)
  • task (1)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Matter.js is a 2D rigid body physics engine for the web that runs in JavaScript.

The engine solves the problem of simulating realistic physical interactions in browser-based applications by implementing rigid body dynamics. It handles collision detection, constraint solving, and force application to create believable motion and interaction between objects. The approach uses a constraint-based solver to manage collisions and joints, allowing developers to define bodies with properties like mass, friction, and restitution, then let the engine evolve their state over time.

The tool suits web games, interactive visualizations, and physics simulations where 2D rigid body dynamics are needed. It works in both browser and Node.js environments. Developers should choose it when they need a lightweight, JavaScript-native physics solution without external dependencies. The project provides an extensive gallery of examples and demos that demonstrate its capabilities across different use cases, helping prospective users evaluate whether it fits their specific requirements.

The project maintains a stable codebase with infrequent but deliberate updates addressing bug fixes and compatibility improvements. Development activity shows careful stewardship focused on reliability rather than rapid feature expansion. The maintainer responds to issues and pull requests with technical precision, indicating active oversight of the project's direction and quality standards.