Matter.js Plugin: matter-wrap (Making the World Round)

Introduction Remember a scene from the comic "Smile Campus" where someone shoots forward, and after a while, the bullet hits the back of their head? The author used this dark joke to remind us that the Earth is round. In the default Matter.js world, there is no boundary. If you throw an object in a direction beyond the canvas boundary ...

Posted on Fri, 15 May 2026 17:11:24 +0000 by atrocious