level 4
纯色是今日晨
楼主
void setup(){
size(300,300);
}
void draw(){
background(255);
smooth();
noFill();
for(int d=0;d<75;d+=4){
for(int x=0;x<350;x +=75){
for(int y=0;y<350;y +=75){
stroke(random(255),random(255),255);
strokeWeight(4);
ellipse(x,y,d,d);
}
}
}
}
这个代码的基础上 再添加一个圆形,鼠标到哪儿,这个圆形跟到哪儿 并且背景也在变换
求助大神 求助 在线等。。
2014年11月01日 10点11分
1
size(300,300);
}
void draw(){
background(255);
smooth();
noFill();
for(int d=0;d<75;d+=4){
for(int x=0;x<350;x +=75){
for(int y=0;y<350;y +=75){
stroke(random(255),random(255),255);
strokeWeight(4);
ellipse(x,y,d,d);
}
}
}
}
这个代码的基础上 再添加一个圆形,鼠标到哪儿,这个圆形跟到哪儿 并且背景也在变换
求助大神 求助 在线等。。