I found a cool library called matter.js, a 2D rigid body physics engine for the web. It provides various function describing the real world movement. This week I learned about Bodies, Constraint, Composites as well as Engine and Render. For this sketch, the three big shapes in the middle of screen are matter.js bodies controlled by matter.js constraints. And small yellow objects are bodies without constraints.
- Nov 10, 2018
- 1 min read