PPolySim OS
For K-12 Students · Convex Hull

Convex Hull for a decision tree

Built for k-12 students learning it in middle or high school. Watch the idea come alive with plain-language steps and everyday examples — perfect for projects and homework. Simulate a decision tree 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 k-12 students?
Yes — this version of "Convex Hull for a decision tree" is framed for k-12 students learning it in middle or high school. Watch the idea come alive with plain-language steps and everyday examples — perfect for projects and homework.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.