block by HarryStevens 37287b23b345f394f8276dc87a9c2bc6

Mean Center Vs. Centroid

Full Screen

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.

index.html