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

Package Test Version Description
@gridworkjs/core test npm Geometry primitives (point, rect, circle) and spatial index protocol
@gridworkjs/quadtree test npm Quadtree spatial index for sparse, uneven point and region data
@gridworkjs/rtree test npm R-tree spatial index with bulk loading for rectangles and polygons
@gridworkjs/hashgrid test npm Spatial hash grid for uniform distributions and fast neighbor lookups
@gridworkjs/kd test npm KD-tree for static point sets and nearest-neighbor queries
@gridworkjs/query test npm Higher-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 .github Public

    organization profile

  2. core core Public

    Geometry primitives and spatial index protocol

    JavaScript

  3. quadtree quadtree Public

    Quadtree spatial index for sparse, uneven point and region data

    JavaScript

  4. rtree rtree Public

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

    JavaScript

  5. hashgrid hashgrid Public

    Spatial hash grid for uniform distributions and fast neighbor lookups

    JavaScript

  6. kd kd Public

    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…