2D JavaScript physics engine for cross-platform HTML5 game development


Keywords
box2d, html5, javascript, game, physics, engine, 2d, mobile, canvas, cross-platform, game-development, game-engine, gamedev, physics-engine, planck, planck-js, rigid-bodies
License
Zlib
Install
npm install planck-js@0.3.31

Documentation

Planck.js

Planck.js is JavaScript/TypeScript rewrite of Box2D physics engine for cross-platform HTML5 game development.

Motivations

  • Taking advantage of Box2D's efforts and achievements
  • Developing readable and editable code in JavaScript/TypeScript
  • Providing idiomatic JavaScript/TypeScript API
  • Optimizing the library for web and mobile platforms

To speed up resolving issues, please provide testbed code to reproduce the issue.