color spheryvalue (float px, float py, float pz , float f1xcenter, float f1ycenter, float f1zcenter) {
return color(px, dist(px, py, pz, f1xcenter, f1ycenter, f1zcenter) , max(0, 100 - 10*abs(dist(px, py, pz, f1xcenter, f1ycenter, f1zcenter)- vibration.getValuef() ) ) );
color spheryvalue (float px, float py, float pz , float f1xcenter, float f1ycenter, float f1zcenter) {
return color(px, dist(px, py, pz, f1xcenter, f1ycenter, f1zcenter) , max(0, 100 - 10*abs(dist(px, py, pz, f1xcenter, f1ycenter, f1zcenter)- vibration.getValuef() ) ) );