logo
SEE ALGORITHMS
    Bubble Sort
    Insertion Sort
    Selection Sort
    Heap Sort
    Radix Sort
    Merge Sort
    Quick Sort

Convex Hull

A Convex Hull is the smallest convex polygon that encloses a given set of points. It is a fundamental concept in computational geometry with applications in collision detection, image processing, and pattern recognition. The algorithm visualized here is the Jarvis March or Gift Wrapping algorithm, which finds the convex hull by iteratively wrapping a'gift' around the set of points.

How it Works

The Jarvis March algorithm starts by finding the leftmost point and then iteratively wrapping a 'gift' around the set of points. It uses the orientation of three points to determine if a point is inside or outside the hull. If a point is outside the hull, it is added to the hull and the next point is selected. This process continues until the hull is complete.


Add Points

Curious to Learn More?

Hand-picked resources to deepen your understanding

Beginner Friendly
Coding Interview Bootcamp: Algorithms + Data Structures

Learn essential data structures and algorithms step-by-step with practical JavaScript examples.

Practical Guide
JavaScript Algorithms & Data Structures Masterclass

Master DSA fundamentals, problem-solving techniques, and advanced structures using JavaScript.

Deep Dive
Master the Coding Interview: Data Structures + Algorithms

Prepare for top tech interviews with advanced DSA concepts and real-world coding challenges.

Learn DSA on Udemy
Learn DSA on Udemy
As an Udemy Associate, I earn from qualifying purchases.

© 2025 SEE Algorithms. Code licensed under MIT, content under CC BY-NC 4.0.