lokiresearch / arrangement-2d-js Goto Github PK
View Code? Open in Web Editor NEWTypescript port of the CGAL 2d Arrangement package with WebAssembly
License: MIT License
Typescript port of the CGAL 2d Arrangement package with WebAssembly
License: MIT License
Some time ago try to use CGAL arrangement module in my project c++ with export to webassembly, but can find solution.
CGAL try to use gmp lib and as understand this produce a lot of errors when try to compile module to JS, in plane c++ all work well.
Question how to adopt your solution in c++ program with em compiler?
take part from cmake or need some additional classes as gpc.c included?
Hello,
have two questions:
first is about difference between arrangement-2d-js installed from npm vs arrangement-2d-js local build. They work, but first variant from npm support more segments to intersect. For example 1500 segments this two libs work identically, but if increase number of segmnets to more then 15000 first work, but local build lib send error :
Uncaught RuntimeError RuntimeError: memory access out of bounds
at $func17 (wasm/001a34f2:1624:1)
at $emscripten_bind_ArrangementBuilder_getPolygons_1 (wasm/001a34f2:87228:1)
all flags in cmakelists,txt dont changes, one problem that complile it from ide not from npm script.
version of CGAl and Boost as in your version.
Do you have ideas why?
And second question:
As understand svg render now is not supported. But take main ideas from your project and they works.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.