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

concaveman

Package Overview
Dependencies
Maintainers
15
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

concaveman

Fast 2D concave hull algorithm in JavaScript (generates an outline of a point set)

  • 1.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
857K
increased by51.64%
Maintainers
15
Weekly downloads
 
Created

What is concaveman?

Concaveman is a very fast 2D concave hull algorithm that is used to compute the concave hull of a set of 2D points. It is particularly useful in computational geometry for tasks such as shape analysis, clustering, and spatial data visualization.

What are concaveman's main functionalities?

Compute Concave Hull

This feature allows you to compute the concave hull of a set of 2D points. The code sample demonstrates how to use the concaveman package to calculate the concave hull for a given set of points.

const concaveman = require('concaveman');
const points = [[10, 10], [20, 20], [30, 10], [40, 40], [50, 30]];
const concaveHull = concaveman(points);
console.log(concaveHull);

Other packages similar to concaveman

Keywords

FAQs

Package last updated on 09 Aug 2021

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