Skip to content

adviksinghania/quadtree-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quadtree-Python

Implementing a quadtree algorithm in Python3.

Setup

  • 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.

Example:

Example for tag:mouse-points code Example

Example for tag:static-points code Example