Socket
Socket
Sign inDemoInstall

planck-js

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

planck-js

2D physics engine for JavaScript/HTML5 game development


Version published
Weekly downloads
500
increased by31.58%
Maintainers
1
Weekly downloads
 
Created
Source

Planck.jsα

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.

Car

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.

Development

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

Keywords

FAQs

Package last updated on 02 Apr 2016

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc