Revolute Joint in Planck.js
Adding a bit more sophistication
Planck3 had boxes dropping from mouse-click locations on to a tilted platform. Now I want to make the center of the platform an actual axis, where it can rotate due to the force of the falling boxes striking it. If I can get this to work, I might be ready to move on to wheels. There are a couple of examples on the P5.js web editor. One of them is Dan Shiffman apparently porting one of his Java NOC examples to JS. The youTube video uses Java, but there is a link to the P5.js code editor. In that js code, however, he is not using planck.js, but rather a thing called box2d-html5 which I do not plan to use at all, so I will have to use his code with care..