Tools for creating, testing and debugging matter.js worlds
See the demo.
MatterTools.Demo
for running and testing examplesMatterTools.Gui
for experimenting with engine propertiesMatterTools.Inspector
for inspecting composites, bodies and constraintsMatterTools.Serializer
for saving and loading state (experimental)
Each tool can be used independently as needed.
You can install using npm:
npm install matter-tools
Alternatively the following complete bundle is provided for convenience
Individual smaller bundles for each tool are also available
- build/matter-tools.demo.js
- build/matter-tools.gui.js (bundles dat.gui)
- build/matter-tools.inspector.js (bundles keymaster, jquery, jstree)
- build/matter-tools.serializer.js (bundles resurrect-js)
See the section below regarding license.
See the demo source for a usage example.
See the API docs for documentation.
matter-tools
is released under MIT see LICENSE
Dependencies are used under their own individual respective licenses, consult their documentation for information.