Lightlines
By mengto

matterjs

mengto1.3k installs

Bring 2D physics to your web canvas scenes.

What it does

Creates Matter.js physics scene code with engine setup, bodies, and cleanup guidance.

When to use it

Use when implementing Matter.js 2D physics interactions, including scene setup, bodies, constraints, and interaction-friendly canvases.

How to use it

Give it a desired 2D physics scene; it produces setup code with bodies, requested interactions, and cleanup guidance.

Latest review

What you need · 1

The setup code requires Matter.js, accessing its engine, renderer, runner, body, and composite APIs through Matter.


Access · 0

No additional actions listed.