Home▸Algorithms & AI▸Line Sweep on a Drafting Board: Event Queue, Status Order and Brute Force Compared

📐 Line Sweep on a Drafting Board: Event Queue, Status Order and Brute Force Compared

Line Sweep on a Drafting Board: Event Queue, Status Order and Brute Force Compared

Algorithms & AI2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Line Sweep on a Drafting Board: Event Queue, Status Order and Brute Force Compared ↗ Open standalone

This simulator visually demonstrates a sweep line moving across a set of line segments, showing how the active set updates at each event point and how only adjacent segments are checked for intersections.

🔬 What It Demonstrates

This simulator visually demonstrates a sweep line moving across a set of line segments, showing how the active set updates at each event point and how only adjacent segments are checked for intersections.

💡 Did You Know?

Did you know that Fortune's algorithm builds an entire Voronoi diagram using a beach line of parabolic arcs, and that this same sweeping-line philosophy also underlies how some map-rendering engines detect overlapping road segments efficiently?

⚙ Under the hood

Line Sweep on a Drafting Board: Event Queue, Status Order and Brute Force Compared

line sweepplane sweepcomputational geometryalgorithmssegment intersection

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)