npm.io
3.0.2 • Published 3 weeks ago

d3-quadtree

Licence
ISC
Version
3.0.2
Deps
0
Size
35 kB
Vulns
0
Weekly
0
Stars
237

d3-quadtree

A 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 for computing many-body forces, collision detection, and searching for nearby points.

Resources

Keywords