2 ms·
Unrelated to this demo, does anyone have pointers or recommendations for deploying 3D/WebGL + Wasm to the web? Any good libraries, tools, or resources?
by echelon 4y ago
Unrelated to this demo, does anyone have pointers or recommendations for deploying 3D/WebGL + Wasm to the web?
Any good libraries, tools, or resources?
- speps 4y agoYou can find a working example in my Torus Trooper project: https://github.com/speps/tt https://github.com/speps/tt In particular, the interface between WASM and WebGL: https://github.com/speps/tt/blob/master/web/tt.js#L45 https://github.com/speps/tt/blob/master/web/tt.js#L45 WASM is really quite straightforward in my opinion, export a C interface and link it with whatever you need from the browser APIs.
- echelon 4y agoThis is a fantastic reference, thank you! Cool project, too.