Viviani's theorem states that in an equilateral triangle, the sum of the distances from any interior or boundary point to the three sides is equal to the altitude of the triangle.[more]
Step 1. From an arbitrary point , perpendiculars are drawn to each of the three sides. You can drag the locator at .
Step 2. Rotate each of these segments around by and extend the segments to the corresponding side. This produces three equilateral triangles colored red, blue and green. The vertical line in each triangle is an altitude, equal to the altitude from .
Step 3. Translate the green triangle along by the vector , which translates to . The three altitudes then project disjointly to the altitude of .[less]
 C. Alsina and R. B. Nelsen, Charming Proofs: A Journey into Elegant Mathematics, Washington, D.C.: Mathematical Association of America, 2010 p. 96.
 A. Bogomolny. "Viviani's Theorem." Cut the Knot. (Oct 6, 2020) www.cut-the-knot.org/Curriculum/Geometry/VivianiPWW.shtml#explanation.