Skip to content

liabru/matter-tools

Repository files navigation

matter-tools

Tools for creating, testing and debugging matter.js worlds

Demo

See the demo.

Tools

  • MatterTools.Demo for running and testing examples
  • MatterTools.Gui for experimenting with engine properties
  • MatterTools.Inspector for inspecting composites, bodies and constraints
  • MatterTools.Serializer for saving and loading state (experimental)

Each tool can be used independently as needed.

Install

You can install using npm:

npm install matter-tools

Bundles

Alternatively the following complete bundle is provided for convenience

Individual smaller bundles for each tool are also available

See the section below regarding license.

Usage

See the demo source for a usage example.

Documentation

See the API docs for documentation.

License

matter-tools is released under MIT see LICENSE

Dependencies are used under their own individual respective licenses, consult their documentation for information.