viz-quadtree

1.0.2 • Public • Published

Npm Version Npm Downloads Build Status Build status #Quad Tree

Usage

let qTree = new Quadtree({x:0, y:0, width:400, height:400}); // init

qTree.insert({x:30,y:40,width:10,height:10}); // inserts a node

let nodes = qTree.retrieve({x:10,y:10,width:10,height:10}); // gets possible matches

Readme

Keywords

Package Sidebar

Install

npm i viz-quadtree

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • sachinio