Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Finding the World's Economic Center of Gravity. Parent comment
Treat each point on the sphere as a 3D unit vector, weight as appropriate, and the center of mass is the sum of all of the vectors.
There are no comments on this comment yet.
Treat each point on the sphere as a 3D unit vector, weight as appropriate, and the center of mass is the sum of all of the vectors.