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

https://github.com/n8rzz/quad-tree

QuadTree data structure written in TypeScript
https://github.com/n8rzz/quad-tree

canvas data-structures quadtree typescript

Last synced: 9 months ago
JSON representation

QuadTree data structure written in TypeScript

Awesome Lists containing this project

README

          

# Quad Tree

This project implements a Quad Tree data structure to assist in checking for collisons.

# Local Setup
```bash
git clone && cd $_
yarn
yarn build
http-server -p 3002 -c-1 // <- substitue your favorite local webserver if you do not have `http-server` installed
```

# Further Reading and Resources
- https://gamedevelopment.tutsplus.com/tutorials/quick-tip-use-quadtrees-to-detect-likely-collisions-in-2d-space--gamedev-374
- http://www.mikechambers.com/blog/2011/03/21/javascript-quadtree-implementation/
- https://github.com/mikechambers/ExamplesByMesh/tree/master/JavaScript/QuadTree