Re:Show HN: WASM and WebGL Fluid Simulation
by _448 on Monday August 02, 2021 @10:36AM
(#28037056)
What is the total size of the webpage that is downloaded to the user system?
[ Parent
| on HN ]
Re:Show HN: WASM and WebGL Fluid Simulation
by Birch-san on Thursday August 05, 2021 @02:17PM
(#28077467)
network inspector says 2.1MB. but that's dominated by a 1.3MB image.
the main assets of the library are:
- Box2D.simd.js (422kB)
- 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...