Convex Polygons - Side Length Align

Compute, and show the length, of each side. Align the length values with side, and center-located inside the polygon. Uses the path element with textPath The path element has no stroke or fill, used only to support textPath.


SVG Source:
Javascript: