Remarks: By default, we show e-Lecture Mode for first time (or non logged-in) visitor.
If you are an NUS student and a repeat visitor, please login.
In this visualization, we currently only support Graham's Scan algorithm.
We first pick a pivot point (bottom-most, left-most point) and then sort the other N-1 points in counter-clockwise order w.r.t. this pivot point.
Pro-tip 1: Since you are not logged-in, you may be a first time visitor (or not an NUS student) who are not aware of the following keyboard shortcuts to navigate this e-Lecture mode: [PageDown]/[PageUp] to go to the next/previous slide, respectively, (and if the drop-down box is highlighted, you can also use [→ or ↓/← or ↑] to do the same),and [Esc] to toggle between this e-Lecture mode and exploration mode.
This visualization is currently only used once a year in NUS (around early April each year, for CS3233), hence it only gets updated briefly once a year.
Pro-tip 2: We designed this visualization and this e-Lecture mode to look good on 1366x768 resolution or larger (typical modern laptop resolution in 2021). We recommend using Google Chrome to access VisuAlgo. Go to full screen mode (F11) to enjoy this setup. However, you can use zoom-in (Ctrl +) or zoom-out (Ctrl -) to calibrate this.
Create
Example Points
Edit Points
Andrew_Chain(Pts)
CH_Graham(Pts)
Shamos(Pts)