a 2D rigid body physics engine for the web ▲● ■
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
See how others are using matter.js physics
npm install matter-js
Visit the Getting started wiki page for a minimal usage example which should work in both browsers and Node.js.
Also see the Running and Rendering wiki pages, which show how to use your own game and rendering loops.
See the list of tutorials.
The engine can be extended through plugins, see these resources:
To build you must first install node.js, then run
This will install the required build dependencies, then run
npm run dev
to spawn a development server. For information on contributing see CONTRIBUTING.md.
To see what's new or changed in the latest version, see the changelog.
See the wiki page on References.
Matter.js is licensed under The MIT License (MIT)
Copyright (c) 2014 Liam Brummitt
This license is also supplied with the release and source code.
As stated in the license, absolutely no warranty is provided.