piqnt/planck.js

2D JavaScript Physics Engine

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 4 minutes ago
Added to GitGenius on September 12th, 2026
Created on March 22nd, 2016
Open Issues & Pull Requests: 32 (+0)
GitHub issues: Enabled
Number of forks: 255
Total Stargazers: 5,280 (+0)
Total Subscribers: 77 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 25.2 hours
Mean response time: 4.3 days
90th percentile: 11.8 days
Tracked items: 14

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 7
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 661 days
Stale 30+ days: 7
Stale 90+ days: 7

Recent activity

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

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Planck.js is a 2D physics engine that brings Box2D physics simulation to JavaScript and TypeScript for cross-platform HTML5 game development.

The engine solves the problem of needing robust, production-grade physics simulation in web-based games by providing a JavaScript and TypeScript rewrite of the established Box2D physics engine. Rather than building physics from scratch, the project leverages Box2D's proven algorithms and architecture while adapting them for web and mobile platforms. The approach prioritizes readable, editable code written in idiomatic JavaScript and TypeScript, making the physics engine accessible to web developers while maintaining the accuracy and features of the original Box2D implementation.

Developers should choose Planck.js when building HTML5 games that require realistic rigid-body physics simulation across desktop and mobile browsers. The project suits games ranging from simple physics puzzles to more complex simulations where accurate collision detection, constraints, and force dynamics matter. The engine handles rigid bodies, joints, and collision detection, making it appropriate for 2D game scenarios where Box2D-compatible behavior is desired without the overhead of native bindings or external dependencies.

The project maintains active engagement with its community through a dedicated Discord server and a wiki documenting games built with the engine. Issue resolution is supported by a testbed system that allows developers to provide reproducible test cases, indicating a structured approach to bug tracking and validation. The project provides comprehensive documentation and interactive examples demonstrating physics scenarios and engine capabilities.