First Example of P5.js + Planck.js
Platform and Box
This is my second time using the Planck.js physics library. My first essay into Planck.js utilized Robert Cook's library (b2/p2) which was specifically designed to work with P5 scripts. But it looks as though he does not support that anymore, and besides I would like to stay closer to the pure physics library--bad enough that I cannot use Box2D directly, or even something like UnrealEngine. So here I will try the hello world script described on the piqnt.com site. It is intended to be used with a tool called testbed which I do not want to mess with, so I will have to figure out how to do all the rendering in P5. The goal is simply a box dropping onto a platform.