points
A specification for storing shape data in Javascript. Includes functions for adding, removing, reordering and converting points
A specification for storing shape data in Javascript. Includes functions for adding, removing, reordering and converting points
A webpack plugin to remove unwanted files which may have been created and output due to multiple entry points
gets 2D contours from an SVG path
Takes a GeoJSON pointGrid and returns a correspondent matrix array of 'property' values of the points
Find a bounding box for a set of points
Create N number of random points inside of a polygon
Calculate all points inside any triangle
gets a plane's normal from 3 points
KDBush with flat API
Quickly pack a nested 2D array into a typed array – useful for flattening point data into a WebGL-friendly format
This is a package containing mathematical tools for moving in a coordination based space.
2D / 3D closest point / proximity helpers
Convert compass degrees into points of the compass and vice versa
n-D spatial indexing data structures with a shared ES6 Map/Set-like API
chaikin's smoothing algorithm for 2D lines
Fast 2D convex hull (Graham Scan)
nD Stratified grid and Poisson-disc sampling w/ support for spatial density functions and custom PRNGs
Computes the Euclidean distance between two arrays.
A hubot script for adding or removing points
Computes the Manhattan (city block) distance between two arrays.