Search results

48 packages found

n-D spatial indexing data structures with a shared ES6 Map/Set-like API

published 3.6.4 a month ago
M
Q
P

Provides a Point class that can be used to perform 2d vector operations. The Point class has convenient methods for calculating distance, magnitude (length), direction and angle (degrees and radians) to and from other Points or Point-like objects that hav

published 1.0.1 5 years ago
M
Q
P

nD Stratified grid and Poisson-disc sampling w/ support for spatial density functions and custom PRNGs

published 3.1.88 a month ago
M
Q
P

Take a transformation matrix like you're used to constructing with WebGL, and project arbitrary 3D points onto your 2D screen.

published 0.0.1 9 years ago
M
Q
P

n-dimensional boids simulation with modular behavior system

published 1.0.33 a month ago
M
Q
P

Extended euclidian 2d geometry library for JavaScript with objects representing points, vectors, angles, transformations, transformation decompositions

published 0.1.0 a year ago
M
Q
P

simplify 2D polyline

published 1.1.0 9 years ago
M
Q
P

A fast Poisson Disk sampling algorithm for random 2D points generation

published 1.1.1 5 years ago
M
Q
P

Computes the convex hull of a given set of points using the Quick Hull algorithm.

published 0.1.0 10 years ago
M
Q
P

chaikin's smoothing algorithm for 2D lines

published 1.0.4 10 years ago
M
Q
P

Conversion and preparation of thi.ng/geom shapes & shape groups to/from AxiDraw pen plotter draw commands

published 0.6.1 a month ago
M
Q
P

Smoothing algorithm for 2D lines and polygons

published 1.0.8 5 years ago
M
Q
P

Read a 2D coordinate grid from an ASCII-art-like string.

published 2.0.0 2 years ago
M
Q
P

Maker.js, a Microsoft Garage project, is a JavaScript library for creating and sharing modular line drawings for CNC and laser cutters.

published 0.18.1 8 months ago
M
Q
P

This script finds all points where the polygons intersect each other. This repository is a fork from DudaGod/polygons-intersect's package, traduced in typescript and fixed from minor bugs.

published 2.0.1 4 years ago
M
Q
P

chaikin's smoothing algorithm for any dimension lines

published 2.2.0 2 years ago
M
Q
P

Small, typed, dependency free tool to round corners of 2d-polygon provided by an array of { x, y } points.

published 0.6.7 2 years ago
M
Q
P

A function that takes two points on a 2D plane and returns the distance between them.

published 1.0.0 a year ago
M
Q
P

Find multiple virtual points as points in a matrix.

published 1.0.0 8 years ago
M
Q
P

Draw perfect arrows between points or shapes

published 0.3.7 3 years ago
M
Q
P