mikolalysenko / alpha-shape Goto Github PK
View Code? Open in Web Editor NEWAny dimensional alpha shapes
Home Page: https://mikolalysenko.github.io/alpha-shape
License: MIT License
Any dimensional alpha shapes
Home Page: https://mikolalysenko.github.io/alpha-shape
License: MIT License
I suck at math. I just thought I'd try out your library. I probably don't understand alpha shapes but ...
I gave it a sphere point set and I can't seem to get it to generate what I expect. I see a few large triangles etc... Is that expected?
The demo you provided looks great. Good work!
I tried to use your code to generate an alpha-shape around geographical coordinates, but here I am a bit stuck on how to use your return value.
My code uses GeoJSON, so I first extracted points to calculate the alpha-shape from.
I am not sure what the returned value means, but first I thought that the returned array will contain coordinates as well. That's obviously not the case, since the values returned are far off the coordinates given (my coordinates are around 11.35 and 46.50, the values returned are often above 100).
So I thought that the actual coordinates need to be read from the input value (that the returned array references the values in the input array).
Using the parameter this way works somehow, but does not deliver anything near to the result I expected.
I created a JSFiddle 1 with the input array and the expected result: http://jsfiddle.net/Niko_K/weqfy733/
Could you please elaborate a bit on how to use your function's return value and how to exactly use you code to create an alpha-shape that is near the exact solution given in the JSFiddle (and not the red one that I get when calling your function with an alpha value of 10)?
In the demo page, clicking on the slider to change alpha value, unintentionally creates a new point and modifies the set on which the test has to be done.
Can I make a 3D shape from 3D point cloud with this?
I suck at math. I just thought I'd try out your library. I probably don't understand alpha shapes but ...
I gave it a sphere point set and I can't seem to get it to generate what I expect. I see a few large triangles etc... Is that expected?
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.