public void setColor(int r, int g, int b){
		double dR = mapIntColToDoubleCol(r), dG = mapIntColToDoubleCol(g), dB = mapIntColToDoubleCol(b);
		if((colorR != dR)||(colorG != dG)||(colorB != dB)){
			//only print the statement, if the color changed
			colorR = dR;
			colorG = dG;
			colorB = dB;
			println(colorR+" "+colorG+" "+colorB+" setrgbcolor");
		}
	}