Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Planck.js (or simply Planck–quantum of action in physics) is a JavaScript rewrite of Box2D C++ game physics library. Planck has a JavaScrip-friendly API and small footprint suitable for web and mobile HTML5 game development.
Planck includes Box2D algorithms without modification and its internal architecture and external API are close to Box2D. However some changes and refactoring are made during rewrite to address differences between C++ and JavaScript.
Box2D is a popular C++ 2D physics library created by Erin Catto, it is used in several popular games such as Angry Birds, Limbo and Crayon Physics as well as several game development tools and libraries.
Install development dependencies:
npm install
bower install
Run unit tests:
npm test
Try examples with live build (see command-line output for URL to open):
npm run dev
FAQs
2D JavaScript physics engine for cross-platform HTML5 game development
The npm package planck-js receives a total of 440 weekly downloads. As such, planck-js popularity was classified as not popular.
We found that planck-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.