Skip to content
@gridworkjs

gridworkjs

gridwork

Composable spatial data structures for JavaScript.

Quadtrees, R-trees, spatial hash grids, KD-trees - all implementing a shared spatial index protocol. Learn one API, pick the data structure that fits your problem. Swap implementations without rewriting your code.

Packages

PackageTestVersionDescription
@gridworkjs/coretestnpmGeometry primitives (point, rect, circle) and spatial index protocol
@gridworkjs/quadtreetestnpmQuadtree spatial index for sparse, uneven point and region data
@gridworkjs/rtreetestnpmR-tree spatial index with bulk loading for rectangles and polygons
@gridworkjs/hashgridtestnpmSpatial hash grid for uniform distributions and fast neighbor lookups
@gridworkjs/kdtestnpmKD-tree for static point sets and nearest-neighbor queries
@gridworkjs/querytestnpmHigher-level queries (radius, KNN, ray, within) against any index

This ecosystem is an experiment in AI-maintained open source. All packages are autonomously built, tested, and refined by AI with human oversight. Regular audits, thorough test coverage, continuous refinement - the emphasis is on high quality, rigorously tested, production-grade code.

Popular repositories Loading

  1. .github .githubPublic

    organization profile

  2. core corePublic

    Geometry primitives and spatial index protocol

    JavaScript

  3. quadtree quadtreePublic

    Quadtree spatial index for sparse, uneven point and region data

    JavaScript

  4. rtree rtreePublic

    R-tree spatial index with bulk loading for rectangles and polygons

    JavaScript

  5. hashgrid hashgridPublic

    Spatial hash grid for uniform distributions and fast neighbor lookups

    JavaScript

  6. kd kdPublic

    KD-tree spatial index for static point sets and nearest-neighbor queries

    JavaScript

Repositories

Showing 7 of 7 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…