Tools for creating, testing and debugging matter.js worlds
See the demo.
There are three tools which can each be used together or separately:
MatterTools.Demo
for running and testing example scenesMatterTools.Gui
for making changes to engine propertiesMatterTools.Inspector
for inspecting worlds
You can download separate builds for each tool and load them:
- MatterTools.Demo
- MatterTools.Gui
- MatterTools.Inspector (requires jQuery)
Alternatively you can install through npm:
npm install matter-tools
See the demo source
for an example of using MatterTools.Demo
which also integrates the inspector and the gui tools.
See the API docs for more information.