jbuckmccready / CavalierContours

2D polyline library for offsetting, combining, etc.
MIT License
421 stars 79 forks source link

Can you publish the wasm library #39

Open FishOrBear opened 3 years ago

FishOrBear commented 3 years ago

This is a cool project

jbuckmccready commented 3 years ago

You can compile this library (and other c++) using Emscripten. I compiled the full CavalierContoursDev Qt app for the web demo. I haven't worked on making this library available directly via wasm.

Continued development of this library is happening in Rust (repository here). I have already started wrapping some of the library for wasm here, wrapper code here. It is all under construction but contributions are welcome. In terms of my development time this will be the future of the project and is easy to expose to wasm via wasm-bindgen and wasm-pack.