My first Matter.js project was mostly just an excuse to throw a bunch of bodies around and see the physics in action. Here it is.
See the Pen Browser Crash by Will Boyd (@lonekorean) on CodePen.
There is a bit of setup to do before you can start adding bodies and tossing them around. Don’t worry, it’s not so bad — you can mostly just treat it as boilerplate code and add in whatever options you need. Here’s a slightly modified version of the setup code used in the demo above.
... read the whole story at codersblock.com.