5 ms·
Still waiting for someone to develop a WebGl-based physics engine. Even the 2D ones are slow - every single one I've tried so far struggles even with a thousand
by imaginenore 10y ago
Still waiting for someone to develop a WebGl-based physics engine. Even the 2D ones are slow - every single one I've tried so far struggles even with a thousand simple boxes.
- hinda 10y agoThe right path seems to be a WebAssembly build of an actual C++ engine. That's pretty close to this, which uses ammo.js, a workerized emscripten/ASM.js build of Bullet. I've been meaning to experiment with doing precisely this :/.
- alex2401 10y agoWhitestorm.js uses AmmoNext (better Ammo.js) I mean that ammo.js runs bullet physics, and AmmoNext runs Bullet Physics 3. About WebAssembly - it is a future of Ammo.js/AmmoNext. We are planning also to make AmmoNext modular with wasm modules.
- kodfodrasz 10y agoFirst I thought it is my weary old notebook, but as it turns out it is not just me.