Skip to content

a tool to visualize the Graham Scan algorithm for finding the convex hull. Complete with customization and different dot arrangments to try!

Notifications You must be signed in to change notification settings

Incandescent-Turtle/graham-scan-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💻 Graham Scan Visualization Tool

This is a tool to visualize the Graham Scan algorithm for finding the convex hull of random points.
Click here to download the .jar to test it out!
gif of visualizer on loop


💄 Customization

screenshot of the customization menu

  • select which shape to generate points in
  • random shape generation
  • change the amount of dots
  • change the delay and step size to control the speed of the algorithm
  • toggle the visibility of both the dots and the lines showing the hull
  • a "loop" option to continue generating and finding the hull of new shapes

🟩 Shape Choice

screenshot of the dropdown menu to select shape

  • RANDOM: a random shape with 3-100 vertices
  • HEART: a uniform heart shape

heart shape

  • SQUARE: a uniform square
  • CIRCLE: a uniform circle
  • TRIANGLE: a triangle whose top point position varies

📓 Notes

If you change the dot amount to 100_000 the shapes become mostly filled in.

About

a tool to visualize the Graham Scan algorithm for finding the convex hull. Complete with customization and different dot arrangments to try!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages