Journal article
Calculating Center of Mass in an Unbounded 2D Environment
Journal of graphics tools, v 13(4), pp 53-60
01 Jan 2008
Abstract
We study the behavior of simple, 2D, self-organizing primitives that
interact and move in an unbounded environment to create aggregated shapes. Each
primitive is represented by a disk and a unit point mass. In order to compare the
aggregated shape produced by the primitives to other shapes, the centers of mass of
the two shapes must be aligned. We present an algorithm for calculating the center
of mass (COM) for a set of point masses that are distributed in an unbounded 2D
environment. The algorithm calculates the centroid for each coordinate component
separately by forming two "orthogonal" tubes, calculating a center of mass in 3D
for each tube and then projecting the 3D COM back onto the tubes, in order to
produce the 2D COM of the points.
Metrics
10 Record Views
Details
- Title
- Calculating Center of Mass in an Unbounded 2D Environment
- Creators
- Linge Bai - Drexel UniversityDavid Breen - Drexel University
- Publication Details
- Journal of graphics tools, v 13(4), pp 53-60
- Publisher
- A.K. Peters
- Resource Type
- Journal article
- Language
- English
- Academic Unit
- Computer Science (Computing)
- Other Identifier
- 991020547615104721