Mass/spring visualization functions.