Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/d3/d3-quadtree

Two-dimensional recursive spatial subdivision.
https://github.com/d3/d3-quadtree

Last synced: about 2 months ago
JSON representation

Two-dimensional recursive spatial subdivision.

Awesome Lists containing this project

README

        

# d3-quadtree

A [quadtree](https://en.wikipedia.org/wiki/Quadtree) recursively partitions two-dimensional space into squares, dividing each square into four equally-sized squares. Each distinct point exists in a unique leaf node; coincident points are represented by a linked list. Quadtrees can accelerate various spatial operations, such as the [Barnes–Hut approximation](https://en.wikipedia.org/wiki/Barnes–Hut_simulation) for computing many-body forces, collision detection, and searching for nearby points.

## Resources

- [Documentation](https://d3js.org/d3-quadtree)
- [Examples](https://observablehq.com/collection/@d3/d3-quadtree)
- [Releases](https://github.com/d3/d3-quadtree/releases)
- [Getting help](https://d3js.org/community)