Pyb2d Wasm Demo
This examples:
Shows how to use pyb2d, a python wrapper for Box2d/LiquidFun in the browser.
Uses a proper
npm
build systemCan uses docker or micromamba to get the wasm code from emscripten-forge
Runs asynchronous python code via
pyjs
Has a build in code editor st. the examples can be modified on the fly and stores any modification to the code in the browsers indexed-db
The source code can be found at github.com/DerThorsten/pyb2d-wasm-demo. The demo below is generated by github actions and hosted on github pages.