Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

alphashape-ts

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alphashape-ts

TS-enabled version of alpha shape package created by Mikola Lysenko

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

alphashape-ts

Typescript version of the alpha-shape package.

Forked from alpha-shape repo created by Mikola Lysenko.

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

alphashape-ts

Created by Zeyu Wang. MIT License

Credits

alpha-shape

Copyright (C) 2015 Mikola Lysenko. MIT License

Keywords

FAQs

Package last updated on 04 Aug 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc