The Center of Gravity App allows users to calculate the centroid of various shapes by inputting geometric properties. The supported shapes include rectangles, polygons, circles, and circle sectors.
Once areas and gaps are added, a table is displayed containing Type, Color, Solid/Gap, Gx, Gy, Area, Gx.A, Gy.A and also total values for Area, Gx.A and Gy.A values. To remove an area, simply click the delete icon in its row.
After summing the total area values, the center of gravity coordinates are calculated as:
x̄ = Σ(xA) / ΣA
ȳ = Σ(yA) / ΣA
Each time you add or remove an area, the figure is dynamically redrawn to reflect the combined shape. The final combined area is displayed for reference.
This app provides an intuitive interface for determining the centroid of various shapes. If you encounter any issues, refer to the input guide or reach out for support.