Replies: 7 comments 2 replies
-
Use this library with Emscripten, compile it ti WASM. Dont have any problems. |
Beta Was this translation helpful? Give feedback.
-
Yes, use it for own project, as result received js file, wasm file and data file. In wasm includes all libs and my own code. Can try to complie Clipper standalone, but main problem is to build interface to Clipper functions, think it not builds automatically. need read about this. And yes after lunix windows have some specific in compile c++ code. |
Beta Was this translation helpful? Give feedback.
-
I have been using this library for a long time https://www.npmjs.com/package/js-angusj-clipper It would be great if Clipper2 could support wasm. |
Beta Was this translation helpful? Give feedback.
-
I'd be happy to provide a link to a WASM version of Clipper2 in Clipper2's ReadMe if someone were to create it and host it on GitHub. |
Beta Was this translation helpful? Give feedback.
-
@AngusJohnson I've created a WASM port here: |
Beta Was this translation helpful? Give feedback.
-
@AngusJohnson - should Clipper2 outperform Clipper1 in terms of ops per time? Or is it slower because its more precise? I'm running some benchmark and currently Clipper1 is outperforming Clipper2 and im still investigating exactly why that is. |
Beta Was this translation helpful? Give feedback.
-
Usually yes, though there are a few circumstances where it doesn't. I'm certainly interested if you have examples where Clipper1 significantly outperforms Clipper2 (though I suggest you do that in a separate Discussion 😜). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Ma preferred environment is JS for doing code-CAD. It would be great is there is a build here or a fork as WASM. It would be lovely if this great library would be accessible for JS.
Beta Was this translation helpful? Give feedback.
All reactions