All examples By author By category About

HarryStevens

Mean Center Vs. Centroid

Draw a polygon to see the location of its centroid and its mean center. The centroid is the center of mass, while the mean center is the average of its vertices. For more on the difference, see this thread.

Functions for calculating the centroid and mean center are from Geometric.js.