Skip to content
M

matterjs

Implementing 2D physics interactions

by mengtoFree

#4083in AI Skills
0In stores

Description

This agent skill helps a coding agent add 2D physics to a web page with the Matter.js library. It first confirms the environment, such as pl…

Highlights

  • Minimal Engine, World, Render and Runner setup
  • Adds bodies and optional mouse constraints
  • Chooses debug or custom rendering
  • Cleanup for single-page apps

Ratings & Reviews

No ratings yet

Be the first to rate matterjs.

People also visit

P

phaser

Build 2D browser games with Phaser 3

AI Skills
Get
T

threejs-gameplay-systems

Build and iterate playable Three.js game systems: starter scaffold

AI Skills
Get
G

game-engine

Web-based game engine and game development

AI Skills
Get
P

pixijs-2d

Fast, lightweight 2D rendering engine for creating interactive graphics

AI Skills
Get
P

phaser-arcade-physics

Use Phaser 4 Arcade Physics: enable the world, give sprites bodies

AI Skills
Get
G

godot-physics

Godot physics bodies, collisions and layers

AI Skills
Get

matterjs FAQ

What does the skill cover?

Engine and World setup, Render and Runner configuration, adding bodies, mouse constraints when requested, and cleanup for single-page apps or teardown.

Which environments does it handle?

Plain HTML, React and canvas-only pages. The skill checks which one you use before writing code.

How do I install it?

Run npx skills add https://github.com/mengto/skills --skill matterjs in your project.

What did the security audits show?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.

What are the best matterjs alternatives?

Popular alternatives to matterjs include phaser, threejs-gameplay-systems and game-engine. See all matterjs alternatives

Developer Stuff

Badges