Socket
Socket
Sign inDemoInstall

alpha-shape

Package Overview
Dependencies
25
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    alpha-shape

Any dimensional alpha shape computation


Version published
Weekly downloads
92K
increased by25.9%
Maintainers
1
Install size
4.17 MB
Created
Weekly downloads
 

Readme

Source

alpha-shape

Computes the alpha shape of a point set.

Try a demo right now

Example

var alphaShape = require('alpha-shape')

var points = []
for(var i=0; i<10; ++i) {
  points.push([Math.random(), Math.random()])
}

var cells = alphaShape(0.1, points)

console.log(cells)

Install

npm i alpha-shape

API

var cells = require('alpha-shape')(alpha, points)

Computes the alpha shape of a point set

  • alpha is alpha parameter for the shape
  • points is a set of points in some dimension

Returns The alpha shape of the point set

License

(c) 2015 Mikola Lysenko. MIT License

Keywords

FAQs

Last updated on 10 Mar 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc