Birch-san/box2d-wasm
View on GitHub ↗ ★ 306 TypeScript
Box2D physics engine compiled to WebAssembly. Supports TypeScript and ES modules.
7 mentions on Hacker News by 3 people: 1 story, 6 comments · first 2020-11-16 · latest 2026-07-02
20082026
-
Have a look here, this guy maintains a wasm build of box2D https://github.com/Birch-san/box2d-wasm And Catto said, Box3D is very similar to Box2D.
comment by lukan · 2026-07-02 · in Box3D, an open source 3D physics engine -
…use godot, but my own engine (with pixijs for graphics and a emscriptem port of box2d for physics https://github.com/Birch-san/box2d-wasm .) Godot uses box2d, too, so that would be convenient, if I switch to godot, but only if it is worth…
comment by hutzlibu · 2023-09-21 · in Article reply “Godot is not the new Unity” from Juan Linietsky (BDFL of Godot) -
…to do. Right now I am using a Box2D for wasm and it has good performance, but it could be better. https://github.com/Birch-san/box2d-wasm The main problem with all this is the overhead of getting data into the gpu and back. Once it is on…
comment by hutzlibu · 2023-07-17 · in WebGPU – All of the cores, none of the canvas -
…- Box2D.simd.wasm (266 kB) a minimal demo that uses the library can be created in just a few kB: https://github.com/Birch-san/box2d-wasm/tree/master/demo/mod...
comment by Birch-san · 2021-08-05 · in Show HN: WASM and WebGL Fluid Simulation -
…calculations that I'd used previously in my Lunar Survey experiment[7] (a Mario Galaxy homage). [0] https://github.com/Birch-san/box2d-wasm/releases/tag/liquidf... [1] http://google.github.io/liquidfun/ [2]…
comment by Birch-san · 2021-08-02 · in Show HN: WASM and WebGL Fluid Simulation -
…yet measured what performance difference this makes. [0] http://google.github.io/liquidfun/ [1] https://github.com/Birch-san/box2d-wasm/releases/tag/liquidf... [2] https://github.com/Birch-san/box2d-wasm/releases/tag/v4.0.0-...
comment by Birch-san · 2021-07-29 · in Show HN: WASM and WebGL Fluid Simulation