Ideas: https://gamedev.stackexchange.com/a/72414 https://github.com/b-g/p5-matter-examples Other engines considered verly.js cannon.js plank.js ammo.js