This is a TypeScript port of an older version of my JavaScript port.
https://github.com/flyover/box2d.ts
https://github.com/flyover/box2d.js
https://github.com/flyover/box2d.ts
https://github.com/flyover/box2d.js
Original thread: https://box2d.org/forum/viewtopic.php?t=9977