straight skeleton vs medial axis — where the ridges part

two different things, drawn on the same polygon. the medial axis (teal) is the set of points with two or more nearest boundary points — the ridge of the distance field. the straight skeleton (terracotta) is the trace of the vertices as every edge slides inward at the same speed. on a convex polygon they are the same lines (Aichholzer et al. 1995), so the two colors sit on top of each other. add one reflex vertex and they part: the medial axis bends into a parabola around it, the skeleton keeps going straight until the wavefront tears in two. the divergence is exactly the reflex vertex, visible in one picture.

honest scope: on the reflex case this page draws only the reflex vertex's straight bisector, not a full offset-traced skeleton — the full offsetting tears at the split event and would draw crossing lines that aren't a skeleton. the medial axis is computed the same way in both cases (distance-field ridge).

medial axis (distance-field ridge) straight skeleton (offset trace)