Hacker News new | ask | show | jobs
by t0mas88 1197 days ago
Yes CG calculation is a weighted sum (of weights, but lets call those mass to avoid confusion) with the weight for each dial being fixed. The result of the sum is divided by the total mass to get the CG.

This thing displays total mass on the left (that's just an ordinary non-weighted sum of all dials), and on the right is shows the result of dividing the weighted sum by the total mass.