Skip to content
/ Polya Public

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

Notifications You must be signed in to change notification settings

DC00/Polya

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages