voronoi icon indicating copy to clipboard operation
voronoi copied to clipboard

Wasm support

Open LeXXik opened this issue 1 year ago • 3 comments

Consider adding a Wasm support (e.g. via Emscripten) so your awesomeness could be used on web.

LeXXik avatar Jul 27 '23 08:07 LeXXik

Hi @LeXXik !

Thanks for using the library! What specifically is preventing use via Emscripten right now? It's just a regular C header 🤔

JCash avatar Jul 27 '23 09:07 JCash

Oh, nothing, of course :) Except one would need to set up Emscripten on their machine and then compiling it. For the most web devs this is an uncharted territory. It would be nice, if the pre-compiled Wasm would already be available in the repo, so the devs could grab it directly.

Something similar to Ammo.js repository for example, which is just a Bullet physics engine compiled to Wasm. Most of the web developers know how to consume Wasm, but could struggle setting up an environment for compiling.

LeXXik avatar Jul 27 '23 11:07 LeXXik

I see, thanks for clarifying!

JCash avatar Jul 27 '23 17:07 JCash