I asked this question on Graphic Design SE about the name for a technique I use to fix the centering of problematic icons. For example:
Based on width and height of the icon, the play button is technically centered within its container, however optically, it doesn't look quite right. It feels like the icon has more empty space to the right side, and therefore appears to not be perfectly balanced. So to center it, I would push it over to the right a bit, so that it's centered based on volume.
My question here is, How can I determine the "Volumetric Center" of a shape mathematically? This seems really hard because icons can have such complex shapes. The answer might be that it isn't even possible to describe an icon's volumetric center mathematically without programming logic. If that's the case just let me know!
Edit, just found this: Helpful article on this topic.
In vector icons, I can access the vertices of the shape based on a coordinate plane, so any answers that describe how to calculate the volumetric center based on a set of coordinates would be interesting.
