DC00 / Polya

Computational Geometry Sandbox. Graham's Scan, Jarvis's March, KD Tree, Nearest Neighbor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Polya

A Computational Geometry Sandbox

  • Menu Interface
  • 2D Map
  • Graham's Scan for convex hull
  • Gift Wrap for convex hull
  • KD tree for nearest neighbor queries

Prerequisites: Python 3, matplotlib

  1. Run the toolkit with $ python main.py
  2. Use randomly generated points or create your own point set
  3. Run the algorithm of your choosing. Note: Algorithms start out in step mode, entering any key will advance to the next step. Entering 'c' will play the algorithm out to completion.

Gifs!!

Graham's Scan Jarvis' March
KD Tree Nearest Neighbor

About

Computational Geometry Sandbox. Graham's Scan, Jarvis's March, KD Tree, Nearest Neighbor


Languages

Language:Python 100.0%