Copyright © Wanyue (Luna) Wang

  • Black LinkedIn Icon
  • Black Instagram Icon
  • github-mark
  • Black YouTube Icon

Shapes


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.