Click to add points. Drag points to move them. Right-click a point to delete it. The convex hull is computed in JavaScript; the profile is computed client-side in Python via Pyodide. The red overlay shows the optimal circular arc or chord at the maximizing area fraction.
Loading client-side Python runtime…
π, so the horizontal axis is
α = A / |P| and the main vertical axis is IP(α|P|) √(π/|P|). This is equivalent to comparing the hull with the disk of the same area.
Normalized profiles
Blue: polygon. Dashed orange: disk with the same total area.
Relative profile ratio
The green curve is IP(α|P|) / ID(α|P|); the marker shows the numerically refined maximum.