CrabScout. The best software around.
Search

Matter.js

Simulate two-dimensional objects, gravity and collisions in JavaScript.

liabru · 3D and games

GitHub projectOpen source Open on GitHub

How to try it

In a Node.js project, install [email protected]. Put a fictional ball into a gravity simulation and advance it by twenty frames.

What we tested

0.20.0. Put a fictional ball into a gravity simulation and advance it by twenty frames. Advanced the physics fixture and observed downward movement.

Reviews

Rate this repo

More to explore

  • glMatrixTransform vectors and matrices for graphics, motion and geometry.GitHub projectOpen source
  • Three Mesh BVHUse a spatial index to query shapes in a Three.js scene.GitHub projectOpen source
  • Planck.jsBuild two-dimensional physics simulations with bodies and contacts.GitHub projectOpen source

Share

What the labels mean

Save to your library