PPolySim OS
For Educators · Convex Hull

Convex Hull for a compiler

Built for educators teaching it to a class. Drop a live demo into a lecture or assign it as a shareable link — no lab installs. Simulate a compiler live below — adjust the inputs and watch it respond, right in your browser.

Convex HullLive

Controls

Presets

The convex hull is the smallest convex polygon containing every point — the shape a rubber band snaps to. Drag any point on the canvas to reshape the set and watch the hull recompute live. Computed here with Andrew's monotone-chain algorithm in O(n log n).

▶ Run in Python

Data Inspector

Points30
Hull vertices0
ComplexityO(n log n)

Governing equation

Reading this result: Add points and a boundary polygon appears — the hull is the smallest convex shape wrapping them all.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →

More with Convex Hull

Frequently asked questions

Is this good for educators?
Yes — this version of "Convex Hull for a compiler" is framed for educators teaching it to a class. Drop a live demo into a lecture or assign it as a shareable link — no lab installs.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.