Centroid of an Arbitrary Hexagon
Initializing live version
Requires a Wolfram Notebook System
Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.
Given an arbitrary hexagon, construct exterior equilateral triangles on each side. Connect the centers of opposite triangles. The midpoints of the three lines form an equilateral triangle with the same center as the centroid of the hexagon.
Contributed by: Ed Pegg Jr (August 2022)
Open content licensed under CC BY-NC-SA
When a side is too close to the center of the drawing area, a spurious result may occur.