schteppe/p2.js
JavaScript 2D physics library observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4961
- days_rel: n/a
- days_push: 1516
- n_releases_24m: 0
Adoption not part of the score
2691 stars · 330 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
p2.js is a 2D rigid body physics engine written in JavaScript, providing collision detection, friction, restitution, springs, motors, and constraints. It is designed for use in browser-based games and interactive applications.
Use cases
- simulate 2d physics in a browser game
- rigid body collision detection in javascript
- add springs and constraints to a 2d game
- build a physics-based puzzle game in html5
- simulate ragdoll or vehicle physics in javascript
When to choose
- you need a dedicated 2D physics engine for a JavaScript game
- you want collision detection, constraints, and springs out of the box
- you are building browser-based interactive physics demos
When to avoid
- you need 3D physics simulation
- you need a library with active development and recent releases
- you need a full game engine with rendering built in
Facets
library · maturity maintenance
game-engine simulation graphics simulation web-development browser cross-platform physics-engine 2d-physics rigid-body collision-detection gamedev game-development javascript nodejs
1 source
- readme: https://github.com/schteppe/p2.js · fetched 2026-08-28 · 4517d3bc1252
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| schteppe/p2.js | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem