JSPM

Found 993 results for geometry

d3-delaunay

Compute the Voronoi diagram of a set of two-dimensional points.

  • v6.0.4
  • 79.00
  • Published

d3-polygon

Operations for two-dimensional polygons.

  • v3.0.1
  • 77.60
  • Published

potpack

A tiny library for packing 2D rectangles (for sprite layouts)

  • v2.1.0
  • 75.95
  • Published

wkx

A WKT/WKB/EWKT/EWKB/TWKB/GeoJSON parser and serializer

  • v0.5.0
  • 74.95
  • Published

kdbush

A very fast static 2D index for points based on kd-tree.

  • v4.0.2
  • 73.82
  • Published

geojson-vt

Slice GeoJSON data into vector tiles efficiently

  • v4.0.2
  • 72.26
  • Published

@turf/turf

a JavaScript library for performing geospatial operations with GeoJSON

  • v7.2.0
  • 69.26
  • Published

draco3d

Draco is a library for compressing and decompressing 3D geometric meshes and point clouds. It is intended to improve the storage and transmission of 3D graphics.

  • v1.5.7
  • 68.26
  • Published

concaveman

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

  • v2.0.0
  • 67.70
  • Published

three-mesh-bvh

A BVH implementation to speed up raycasting against three.js meshes.

  • v0.9.1
  • 66.91
  • Published

polygon-clipping

Apply boolean Polygon clipping operations (intersection, union, difference, xor) to your Polygons & MultiPolygons.

  • v0.15.7
  • 65.44
  • Published

martinez-polygon-clipping

Martinez polygon clipping algorithm, does boolean operation on polygons (multipolygons, polygons with holes etc): intersection, union, difference, xor

  • v0.7.4
  • 65.02
  • Published

polyclip-ts

Apply boolean polygon clipping operations (intersection, union, difference, xor) to your Polygons & MultiPolygons.

  • v0.16.8
  • 64.26
  • Published

@loaders.gl/draco

Framework-independent loader and writer for Draco compressed meshes and point clouds

  • v4.3.4
  • 64.13
  • Published

polylabel

A JS library for finding optimal label position inside a polygon

  • v2.0.1
  • 64.12
  • Published

lineclip

A fast polyline and polygon clipping library.

  • v2.0.0
  • 63.32
  • Published

@loaders.gl/mvt

Loader for Mapbox Vector Tiles

  • v4.3.4
  • 62.54
  • Published

@loaders.gl/gis

Helpers for GIS category data

  • v4.3.4
  • 61.44
  • Published

compute-dot

Computes the dot product between two numeric arrays.

  • v1.1.0
  • 61.08
  • Published

geometry-interfaces

The W3C Geometry Interfaces implemented in JavaScript and polyfilled.

  • v2.0.0
  • 59.79
  • Published

robust-orientation

Exactly computes the orientation of a tuple of points

  • v1.2.1
  • 59.45
  • Published

tiny-svg

A minimal toolbelt for builing fast SVG-based applications

  • v4.1.3
  • 58.69
  • Published

@terraformer/arcgis

Convert ArcGIS JSON geometries to GeoJSON geometries and vica-versa.

  • v2.1.2
  • 57.86
  • Published

flatbush

Fast static spatial index for rectangles

  • v4.5.0
  • 57.00
  • Published

simplify-js

A high-performance JavaScript 2D/3D polyline simplification library

  • v1.2.4
  • 56.83
  • Published

paper

The Swiss Army Knife of Vector Graphics Scripting

  • v0.12.18
  • 56.50
  • Published

affine-hull

Finds the affine hull of a point set

  • v1.0.0
  • 55.95
  • Published

geographiclib-geodesic

JavaScript implementation of geodesic routines in GeographicLib

  • v2.2.0
  • 54.14
  • Published

@kitware/vtk.js

Visualization Toolkit for the Web

  • v34.11.0
  • 53.89
  • Published

robust-in-sphere

Exact arithmetic test to check if point is contained in sphere

  • v1.2.1
  • 53.60
  • Published

tiny-binary-search

Very small binary search index implimentation.

  • v1.0.3
  • 52.68
  • Published

big-rat

A big integer rational number

  • v1.0.4
  • 52.59
  • Published

planar-dual

Find the faces of a planar graph

  • v1.0.2
  • 52.27
  • Published

normals

Estimates normals for meshes

  • v1.1.0
  • 52.00
  • Published

terra-draw

Frictionless map drawing across mapping provider

  • v1.13.0
  • 51.66
  • Published

@terraformer/wkt

Tools to convert WKT geometries to GeoJSON geometries and vica-versa.

  • v2.2.1
  • 51.55
  • Published

clean-pslg

Remove self intersections, t-junctions and duplicate edges/vertices from a planar straight line graph

  • v1.1.2
  • 50.92
  • Published

circumcenter

Computes circumcenters of simplices

  • v1.0.0
  • 50.78
  • Published

barycentric

Converts points to barycentric coordinates

  • v1.0.1
  • 50.75
  • Published

cdt2d

Constrained Delaunay Triangulation in 2D

  • v1.0.0
  • 50.75
  • Published

polytope-closest-point

Computes the closest point to a polytope in arbitrary dimensions

  • v1.0.0
  • 50.72
  • Published

rat-vec

Exact rational vector arithmetic

  • v1.1.1
  • 50.39
  • Published

compare-angle

Compares two angles with a common edge

  • v1.0.1
  • 50.31
  • Published

draco3dgltf

This package contains a specific version of Draco 3D geometric compression library that is used for glTF Draco mesh compression extension.

  • v1.5.7
  • 50.15
  • Published

s2-geometry

A pure JavaScript/ES5.1 port of Google/Niantic's S2 Geometry library (used by Ingress, Pokemon GO)

  • v1.2.10
  • 49.82
  • Published

@loaders.gl/wkt

Loader and Writer for the WKT (Well Known Text) Format

  • v4.3.4
  • 49.19
  • Published

spherical-geometry-js

This library provides classes and functions for the computation of geometric data on the surface of the Earth. Code ported from the Google Maps Javascript API v3

  • v3.0.2
  • 48.17
  • Published

simplify-geometry

Simplify geometry using the Ramer–Douglas–Peucker algorithm.

  • v0.0.2
  • 48.16
  • Published

makerjs

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

  • v0.18.1
  • 48.04
  • Published

wicket

A modest library for moving between Well-Known Text (WKT) and various framework geometries

  • v1.3.8
  • 48.01
  • Published

three-bvh-csg

A fast, flexible, dynamic CSG implementation on top of three-mesh-bvh

  • v0.0.17
  • 47.40
  • Published

geometric

A JavaScript library with geometric functions.

  • v2.5.5
  • 46.49
  • Published

quaternion

The RAW rotation library using quaternions

  • v2.1.1
  • 46.44
  • Published

js-angusj-clipper

Polygon and line clipping and offsetting library for Javascript / Typescript - a port of Angus Johnson's clipper to WebAssembly / Asm.JS

  • v1.3.1
  • 46.09
  • Published

flatgeobuf

A performant binary encoding for geographic data

  • v4.2.0
  • 44.94
  • Published

jsxgraph

Interactive geometry, plotting, visualization

  • v1.11.1
  • 44.51
  • Published

3d-tiles-renderer

https://github.com/AnalyticalGraphicsInc/3d-tiles/tree/master/specification

  • v0.4.14
  • 44.25
  • Published

geojson-geometries

Extract elementary geometries from a geojson inheriting properties.

  • v2.0.0
  • 44.21
  • Published

three-glow-mesh

Create glow mesh with any ThreeJS geometry.

  • v0.1.2
  • 44.09
  • Published

vec2

manipulate vectors in 2d

  • v1.6.1
  • 44.06
  • Published

@thi.ng/vectors

Optimized 2d/3d/4d and arbitrary length vector operations, support for memory mapping/layouts

  • v8.6.5
  • 43.62
  • Published

@xeokit/xeokit-sdk

3D BIM IFC Viewer SDK for AEC engineering applications. Open Source JavaScript Toolkit based on pure WebGL for top performance, real-world coordinates and full double precision

  • v2.6.89
  • 43.51
  • Published

manifold-3d

Geometry library for topological robustness

  • v3.2.1
  • 42.55
  • Published

sylvester-es6

Fork of the famous Sylvester vector, matrix and geometry library. Rewritten in ES6 and including the glUtils.js add-ons.

  • v0.0.2
  • 42.46
  • Published

@mathigon/euclid

Euclidean geometry classes and tools for JavaScript

  • v1.2.4
  • 42.43
  • Published

rectangle-overlap

Computes the area of the intersection of two rectangles.

  • v2.0.0
  • 42.41
  • Published

min-bounding-rectangle

Minimum bounding rectangle implementation in JavaScript. Uses `concaveman` and `mathjs` as dependencies.

  • v1.2.3
  • 41.54
  • Published

polygon

utility for working with polygons (arrays of vec2s)

  • v1.0.2
  • 41.33
  • Published

simplify-ts

Simplification of a 2D-polyline or a 3D-polyline.

  • v1.0.2
  • 41.05
  • Published

box-collide

return whether two boxes or points are colliding in 2d

  • v1.0.2
  • 40.96
  • Published

global-mercator

Tools to help with TMS, Quadkey & Google (XYZ) Tiles

  • v3.1.0
  • 40.74
  • Published

vtk.js

Visualization Toolkit for the Web

  • v34.11.0
  • 40.69
  • Published

2d-polygon-boolean

perform boolean operations on arbitrary polygons in 2d

  • v1.0.1
  • 40.67
  • Published

@kittl/paper

The Swiss Army Knife of Vector Graphics Scripting

  • v0.12.30
  • 40.53
  • Published

binpacking

binary tree based bin packing algorithm

  • v0.0.1
  • 40.06
  • Published

node-geometry-library

Javascript Geometry Library provides utility functions for the computation of geometric data on the surface of the Earth. Code ported from Google Maps Android API.

  • v1.2.6
  • 39.91
  • Published

three-gpu-pathtracer

Path tracing renderer and utilities for three.js built on top of three-mesh-bvh.

  • v0.0.23
  • 39.56
  • Published

line2

perform operations on infinite lines in 2 dimensions

  • v0.2.1
  • 39.38
  • Published

geometry-polyfill

Polyfill for DOM Geometry Interfaces Module Level 1

  • v1.0.7
  • 39.22
  • Published

subdivide-arc

subdivide an arc into line segments

  • v1.0.1
  • 39.04
  • Published

desmos

Desmos is the dead-simple way to embed rich, interactive math into your web page or web app.

    • v1.5.4
    • 38.94
    • Published

    poly2tri

    A 2D constrained Delaunay triangulation library

    • v1.5.0
    • 38.81
    • Published

    @scratch/paper

    The Swiss Army Knife of Vector Graphics Scripting

    • v0.11.20221201200345
    • 38.79
    • Published

    paper-jsdom

    The Swiss Army Knife of Vector Graphics Scripting, packaged for headless use in Node.js

    • v0.12.18
    • 38.01
    • Published

    @giro3d/giro3d

    A JS/WebGL framework for 3D geospatial data visualization

    • v0.43.4
    • 37.71
    • Published

    three-subdivide

    Smooth subdivision surface modifier for use with three.js BufferGeometry.

    • v1.1.5
    • 37.63
    • Published

    round-polygon

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

    • v0.6.7
    • 37.44
    • Published

    lines-intersect

    Check if line segments intersect

    • v1.0.1
    • 37.40
    • Published

    polyk

    JavaScript tool for working with polygons. It uses several basic principles to be super simple and super universal.

    • v0.24.0
    • 36.62
    • Published

    affine-complement

    Finds a basis for the affine complement of a set of points

    • v1.0.0
    • 36.55
    • Published

    primitive-sphere

    a sphere mesh with normals, texture coordinates and indices

    • v3.0.0
    • 36.49
    • Published

    liang-barsky

    Liang-Barsky line clipping algorithm

    • v1.0.12
    • 36.48
    • Published

    nudged

    Affine transformation estimator e.g. for multi-touch gestures and calibration

    • v2.1.1
    • 35.89
    • Published

    shape2path

    Convert SVG shapes to SVG paths

    • v3.0.5
    • 35.22
    • Published

    quickhull3d

    A quickhull implementation for 3d points

    • v3.1.1
    • 35.17
    • Published

    fit-rect

    Fits one rectangle into another

    • v1.0.3
    • 34.94
    • Published

    open3d

    Open3d is a 3d geometry library for javascript.

    • v0.2.4
    • 34.74
    • Published

    gintersect

    Finds intersection between two lines

    • v0.1.0
    • 34.66
    • Published

    @thi.ng/matrices

    Matrix & quaternion operations for 2D/3D geometry processing

    • v3.0.20
    • 34.62
    • Published

    @syncpoint/wkx

    A WKT/WKB/EWKT/EWKB/TWKB/GeoJSON parser and serializer

    • v0.5.2
    • 34.41
    • Published

    @luorivergoddess/mcp-geo

    MCP Server for generating precise geometric images using Asymptote.

      • v0.1.3
      • 34.06
      • Published

      convexhull-js

      A high-performance JavaScript 2D convex hull library

      • v1.0.0
      • 33.86
      • Published

      @thi.ng/geom

      Functional, polymorphic API for 2D geometry types & SVG generation

      • v8.2.10
      • 33.74
      • Published

      @thi.ng/geom-resample

      Customizable nD polyline interpolation, re-sampling, splitting & nearest point computation

      • v3.0.61
      • 33.61
      • Published

      viewbox

      Library for dealing with SVG viewboxes as plain arrays

      • v1.0.0
      • 33.46
      • Published

      @itk-viewer/viewer

      Multi-dimensional web-based image, mesh, and point set viewer

      • v0.6.2
      • 33.27
      • Published

      canvas-sketch-util

      Utilities for sketching in Canvas, WebGL and generative art

      • v1.10.0
      • 32.76
      • Published

      polliwog-types

      TypeScript types and JSON Schema for polliwog, the Python 2D and 3D computational geometry library

      • v3.0.0-alpha.3
      • 32.60
      • Published

      @thi.ng/geom-clip-poly

      2D polygon clipping / offsetting (Sutherland-Hodgeman, Grainer-Hormann)

      • v2.1.193
      • 32.40
      • Published

      wkx-ts

      A WKT/WKB/EWKT/EWKB/TWKB/GeoJSON parser and serializer

      • v1.0.1
      • 32.06
      • Published

      @thi.ng/geom-arc

      2D circular / elliptic arc operations

      • v2.1.194
      • 31.95
      • Published

      @itk-viewer/arcball

      Rotate, pan, and zoom a camera using an arcball.

      • v0.0.1
      • 31.91
      • Published

      paper-jsdom-canvas

      The Swiss Army Knife of Vector Graphics Scripting, packaged for Node.js with rendering to Node-Canvas

      • v0.12.18
      • 31.64
      • Published

      @2gis/geojson-vt

      Slice GeoJSON data into vector tiles efficiently

      • v3.4.1
      • 31.52
      • Published

      primitive-geometry

      Geometries for 3D rendering, including normals, UVs and cell indices (faces). Perfect if you want to supercharge your dependency folder... with 30KB of geometries.

      • v2.11.0
      • 31.46
      • Published

      flatten-js

      Javascript library for 2d geometry

      • v0.6.9
      • 31.46
      • Published

      @thi.ng/geom-splines

      nD cubic & quadratic curve analysis, conversion, interpolation, splitting

      • v2.3.61
      • 31.13
      • Published

      three-js-csg

      An NPM module for ThreeJS's CSG (Constructive Solid Geometry) port

      • v72.0.0
      • 30.82
      • Published

      dbgeo

      A Node.js module for converting database queries to GeoJSON and TopoJSON

      • v1.1.0
      • 30.63
      • Published

      delaunay-fast

      Fast Delaunay Triangulation in JavaScript

      • v1.0.1
      • 30.62
      • Published

      generate-pi

      Find PI(π) to the Nth Digit

      • v1.25.0
      • 30.61
      • Published

      bookshelf-postgis

      Bookshelf plugin for parsing & serializing PostGIS columns

      • v0.3.0
      • 30.48
      • Published

      make-tile

      Convert geojson to tile

      • v0.0.3
      • 30.44
      • Published

      polygon.clip

      clip a polygon with another

      • v0.0.3
      • 29.88
      • Published

      math-hypot

      Computes the square root of a sum of squares.

      • v1.0.0
      • 29.59
      • Published

      itk-vtk-viewer

      Web-based image, mesh, and point set viewer

      • v14.51.0
      • 29.45
      • Published

      point-in-region

      Quickly and robustly determines which region contains a given query point

      • v1.0.0
      • 29.29
      • Published

      toxiclibsjs

      toxiclibsjs is an open-source library for computational design tasks with JavaScript.

      • v0.3.3
      • 28.86
      • Published

      three-rounded-box

      Box geometry for three.js with filleted edges

      • v0.1.1
      • 28.74
      • Published

      spellshape-three

      A Three.js-based parametric 3D modeling framework with expression evaluation and template processing

        • v0.1.6
        • 28.70
        • Published

        ringside

        Positions a rectangle between inner and outer bounds

        • v1.0.1
        • 28.61
        • Published

        shape

        Simple 2D shape generators

        • v0.0.1
        • 28.59
        • Published

        @labelbox/polygon-clipping

        Apply boolean Polygon clipping operations (intersection, union, difference, xor) to your Polygons & MultiPolygons.

        • v0.0.5
        • 28.56
        • Published

        gl-geometry

        A flexible wrapper for gl-vao and gl-buffer that you can use to set up renderable WebGL geometries from a variety of different formats.

        • v3.1.1
        • 28.56
        • Published

        jismesh-js

        JavaScript port of python jismesh package

        • v0.2.0
        • 28.47
        • Published

        @turbowarp/ancient-hull.js

        Very old version of hull.js with backported security fixes -- do not use in new projects

        • v0.2.13
        • 28.18
        • Published

        math2d

        Two dimensional vector math library for JavaScript. Built for performance in computation-heavy real-time engines without sacrificing usability. Supports tree shaking and dead code removal to avoid bloating client-side bundles. Zero dependencies.

        • v4.0.1
        • 28.06
        • Published

        ts-2d-geometry

        This is a simple library containing classes with immutable operations to use for 2d Geometry tasks.

        • v6.3.5
        • 28.05
        • Published

        overlay-pslg

        Computes a boolean combination of two planar graphs

        • v1.0.0
        • 28.03
        • Published

        compute.io

        Computation library.

        • v0.106.0
        • 27.99
        • Published

        geo-split

        Utilities to split GeoJSON geometries

        • v0.1.2
        • 27.98
        • Published

        @thi.ng/axidraw

        Minimal AxiDraw plotter/drawing machine controller for Node.js

        • v1.1.148
        • 27.59
        • Published

        bbox

        Find bounding box dimensions either within or surrounding arbitrary containers

        • v0.4.0
        • 27.40
        • Published

        @thi.ng/geom-voronoi

        Fast, incremental 2D Delaunay & Voronoi mesh implementation

        • v2.3.136
        • 27.40
        • Published

        @thi.ng/lsys

        Functional, extensible L-System architecture w/ support for probabilistic rules

        • v2.3.30
        • 27.38
        • Published

        three-mtl-loader

        node module for the three mtl loader

        • v1.0.2
        • 27.31
        • Published

        2d-point

        2D point object

        • v1.0.0
        • 27.08
        • Published

        mcp-server-jsxgraph

        A Model Context Protocol server for generating mathematical visualizations using JSXGraph. This is a TypeScript-based MCP server that provides interactive mathematical chart generation capabilities for functions, geometry, parametric curves, and more.

        • v0.1.2
        • 27.07
        • Published

        vector2-node

        An object representing a 2D vector.

        • v0.0.3
        • 27.04
        • Published

        compute-hypot

        Computes the hypotenuse of a right triangle.

        • v1.0.0
        • 27.03
        • Published

        compute-cross

        Computes the cross product between two numeric arrays.

        • v1.0.0
        • 27.00
        • Published

        @thi.ng/geom-axidraw

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

        • v1.0.48
        • 26.85
        • Published

        segment2

        2d line segment

        • v0.3.2
        • 26.84
        • Published

        @thi.ng/geom-fuzz

        Highly configurable, fuzzy line & polygon creation with presets and composable fill & stroke styles. Canvas & SVG support

        • v3.0.75
        • 26.55
        • Published

        @thi.ng/geom-api

        Shared type & interface declarations for @thi.ng/geom packages

        • v5.0.0
        • 26.53
        • Published

        edge-split

        Iteratively split edges to get a more uniform tessellation

        • v1.0.2
        • 26.09
        • Published

        3d-mesh-lib

        A comprehensive, production-ready 3D mesh manipulation library for creating 3D editors, modelers, and CAD applications

        • v3.2.0
        • 25.89
        • Published

        box-frustum

        Checks if an axis aligned bounding box intersects a camera frustum.

        • v0.0.0
        • 25.83
        • Published

        @thi.ng/iges

        IGES 5.3 serializer for (currently only) polygonal geometry, both open & closed

        • v2.1.197
        • 25.80
        • Published

        @thi.ng/geom-sdf

        2D Signed Distance Field creation from @thi.ng/geom shapes, conversions, sampling, combinators

        • v1.0.49
        • 25.78
        • Published

        @tak-ps/geojson-vt

        Slice GeoJSON data into vector tiles efficiently

        • v4.2.0
        • 25.66
        • Published

        simplify-path-js

        Powerful TypeScript/JavaScript library to simplify paths or surfaces between 2 and N dimensions efficiently.

        • v1.0.2
        • 25.62
        • Published

        hyla

        2D and 3D computational geometry library in TypeScript

        • v0.5.0
        • 25.47
        • Published

        poly-math-2d

        2D Polygon math: boolean operations, triangulation, graphs, support for holes and non-convex shapes.

        • v0.2.0
        • 25.45
        • Published

        @maptalks/geojson-vt

        Slice GeoJSON data into vector tiles efficiently(maptalks fork)

        • v3.5.0
        • 25.12
        • Published

        visibility-polygon

        A library used to construct a visibility polygon for a set of line segments

        • v1.1.0
        • 25.12
        • Published

        vtk-unstructured-viewer

        A lightweight, standalone JavaScript library for parsing and processing VTK Unstructured Grid (.vtu) files in both browser and Node.js environments. Complete VTK-style API with zero dependencies for scientific visualization.

        • v0.0.3
        • 24.91
        • Published

        verb-nurbs

        A library for creating and manipulating NURBS surfaces and curves in many languages

        • v3.0.3
        • 24.74
        • Published

        @openagent/hull-concavity

        JavaScript library that builds concave hulls (shapes) by set of points

          • v1.1.0
          • 24.72
          • Published

          linematch

          A fast algorithm for comparing sets of polylines (e.g. road networks).

          • v2.0.0
          • 24.58
          • Published

          coons-patch

          Create a Coons patch and access points and curves on its surface

          • v4.0.0
          • 24.42
          • Published

          three-mesh-halfedge

          A typescript implementation of the Halfedge structure for three.js geometries.

          • v1.0.3
          • 24.39
          • Published

          react-native-geo-fencing

          Native modules to determine if a location is within defined geographical boundaries using Google Geometry library

          • v0.1.0
          • 24.06
          • Published

          @thi.ng/quad-edge

          Quadedge data structure after Guibas & Stolfi

          • v3.1.99
          • 23.88
          • Published

          ray

          Minimal Ray geometric primitive

          • v0.0.1
          • 23.66
          • Published

          geo-identify-position-format

          Identifies geometry position format as flat array, array of arrays, typed array, or 1D ndarray.

          • v1.0.2
          • 23.48
          • Published

          circle-properties

          This library allows obtaining the properties of a geometric circle from any of its measurements.

          • v0.1.1
          • 23.46
          • Published

          @salusoft89/planegcs

          A wasm build and a simple wrapper of the FreeCAD PlaneGCS (2D geometric constraint solver)

          • v1.1.7
          • 23.40
          • Published

          three-js-csg-es6

          An NPM module for ThreeJS's CSG (Constructive Solid Geometry) port ( es6 module version )

          • v73.0.0
          • 23.38
          • Published

          @gitborlando/utils

          JavaScript/TypeScript 实用工具集合

            • v4.1.0
            • 23.29
            • Published

            pex-geom

            Geometry intersection and bounding volume helpers for PEX.

            • v3.1.0
            • 23.21
            • Published

            @footgun/collision-2d

            A collection of collision detection and response functions for 2D

            • v0.5.1
            • 23.03
            • Published