level 11
processing中默认的色彩模式是RGB的模式,也就是说是光的成像原理,红绿蓝三色混合在一起就是白色。但是实际在程序中,混合不出来白色。
2016年09月21日 09点09分
1
level 11
开始我以为是透明度的问题。可是怎么调整都调不出 楼下附代码
2016年09月21日 09点09分
2
level 11
void setup(){
size(400,400);
background(255);
noStroke();
}
void draw(){
fill(255,0,0,85);
display(150,150);
fill(0,255,0,85);
display(250,150);
fill(0,0,255,85);
display(200,250);
//noLoop();
}
void display(int x,int y){
ellipse(x,y,200,200);
}
2016年09月21日 09点09分
3
level 9
你懂不懂点色彩常识,不懂的话去找下你的美术老师,所以颜色混合为黑色
2016年09月23日 05点09分
13