Matter.js
Simulate two-dimensional objects, gravity and collisions in JavaScript.
liabru · 3D and games
GitHub projectOpen source Open on GitHubHow 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 repoMore 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