This applet allows you to visualize the change of the location of the center of mass whenever any of three mass values are changed. The masses remain fixed at the vertices of an equilateral triangle.
I have not yet found an HTML5 equivalent to the force and c.m. applet. Sorry!