Implementing a quadtree algorithm in Python3.
-
Install the latest version of Python
-
Install PyGame by running:
python3 -m pip install pygame
-
Clone/Download the repository by running the following command in a terminal:
$ git clone https://github.com/adviksinghania/quadtree-python.git ./quadtree
Navigate inside the folder:
cd quadtree/
-
Run
python3 main.py
-
Use left mouse button to click and create points in the window.