level 2
总攻噻
楼主
有没有大神告诉我下面这个processing的原理和它每行的意思啊![[乖]](/static/emoticons/u4e56.png)
![[乖]](/static/emoticons/u4e56.png)
void setup(){
size(700,700); background(0);
noStroke();
}
void draw(){
background(0);
for(int i=0;i<10;i++){
float randomWidth=random(60.0);
fill(random(255),random(255),random(255));
ellipse(random(width),random(height),
randomWidth,randomWidth);
}
}
2017年08月01日 15点08分
1
void setup(){
size(700,700); background(0);
noStroke();
}
void draw(){
background(0);
for(int i=0;i<10;i++){
float randomWidth=random(60.0);
fill(random(255),random(255),random(255));
ellipse(random(width),random(height),
randomWidth,randomWidth);
}
}