{"adoption": {"forks": 330, "observed_at": "2026-08-28T04:07:10.965076+00:00", "stars": 2691}, "canonical_url": "https://ross.abutalabs.com/products/p2js", "card": {"archived": false, "artifact_type": "library", "description": "JavaScript 2D physics library", "domain": ["simulation", "web-development"], "enriched": true, "function": ["game-engine", "simulation", "graphics"], "health_score": 20, "homepage": null, "language": "JavaScript", "license": "NOASSERTION", "license_family": "other", "maturity": "maintenance", "member_repos": ["schteppe/p2.js"], "name": "schteppe/p2.js", "platform": ["browser", "cross-platform"], "pushed_at": "2022-07-09T03:13:18+00:00", "repo": "schteppe/p2.js", "stars": 2691, "tags": ["physics-engine", "2d-physics", "rigid-body", "collision-detection", "gamedev", "game-development", "javascript", "nodejs"], "topics": ["physics-engine", "physics", "gamedev"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/p2js", "repo": "schteppe/p2.js", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:10.965076+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:16:33.978952+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4517d3bc1252c34f23c154206887273aea88d536eddbb956204b120018d573b2", "fetched_at": "2026-08-28T04:07:10.965076+00:00", "kind": "readme", "missing": false, "url": "https://github.com/schteppe/p2.js"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:10.965076+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:16:33.978952+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4517d3bc1252c34f23c154206887273aea88d536eddbb956204b120018d573b2", "fetched_at": "2026-08-28T04:07:10.965076+00:00", "kind": "readme", "missing": false, "url": "https://github.com/schteppe/p2.js"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:16:33.978952+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4517d3bc1252c34f23c154206887273aea88d536eddbb956204b120018d573b2", "fetched_at": "2026-08-28T04:07:10.965076+00:00", "kind": "readme", "missing": false, "url": "https://github.com/schteppe/p2.js"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:07:10.965076+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:10.965076+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:10.965076+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:16:33.978952+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4517d3bc1252c34f23c154206887273aea88d536eddbb956204b120018d573b2", "fetched_at": "2026-08-28T04:07:10.965076+00:00", "kind": "readme", "missing": false, "url": "https://github.com/schteppe/p2.js"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:10.965076+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:10.965076+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:16:33.978952+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4517d3bc1252c34f23c154206887273aea88d536eddbb956204b120018d573b2", "fetched_at": "2026-08-28T04:07:10.965076+00:00", "kind": "readme", "missing": false, "url": "https://github.com/schteppe/p2.js"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:10.965076+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:10.965076+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:10.965076+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:16:33.978952+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4517d3bc1252c34f23c154206887273aea88d536eddbb956204b120018d573b2", "fetched_at": "2026-08-28T04:07:10.965076+00:00", "kind": "readme", "missing": false, "url": "https://github.com/schteppe/p2.js"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:10.965076+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:10.965076+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:16:33.978952+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4517d3bc1252c34f23c154206887273aea88d536eddbb956204b120018d573b2", "fetched_at": "2026-08-28T04:07:10.965076+00:00", "kind": "readme", "missing": false, "url": "https://github.com/schteppe/p2.js"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:16:33.978952+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4517d3bc1252c34f23c154206887273aea88d536eddbb956204b120018d573b2", "fetched_at": "2026-08-28T04:07:10.965076+00:00", "kind": "readme", "missing": false, "url": "https://github.com/schteppe/p2.js"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:16:33.978952+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4517d3bc1252c34f23c154206887273aea88d536eddbb956204b120018d573b2", "fetched_at": "2026-08-28T04:07:10.965076+00:00", "kind": "readme", "missing": false, "url": "https://github.com/schteppe/p2.js"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:16:33.978952+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4517d3bc1252c34f23c154206887273aea88d536eddbb956204b120018d573b2", "fetched_at": "2026-08-28T04:07:10.965076+00:00", "kind": "readme", "missing": false, "url": "https://github.com/schteppe/p2.js"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4961, "days_push": 1516, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}