Hacker GitHub

← All repos

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

Mentions per year 7 mentions · busiest year 2021 (3)
20082026
  1. 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.
  2. …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…
  3. …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…
  4. …- 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
  5. …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
  6. …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
  7. ▲ 2
    Show HN: Box2D physics engine in WebAssembly and TypeScript
    story by Birch-san · 2020-11-16 · 0 comments