.github/profile at main · gridworkjs/.github · GitHub
Skip to content

Latest commit

 

History

History

Folders and files

README.md

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.