quadtree.js (npm): A javascript library for generating hit detection candidates in a 2-d space.
Keywords: quadtree|collision|collision detection|space partitioning|spatial partitioning