/quadtree

Simple quad tree implementation with p5.js

Primary LanguageJavaScript

quadtree

Simple quad tree implementation with p5.js

Usage

The main purpose of using this structure is less complexity for searching algorithms (O(nlog(n)) with tree query vs O(n^2) with naive search)

It is recommended to use with collision detection problem.

TODO list

  • move from p5 sketch to simple node project