Sunday, July 01, 2012
// just type here
// and click "save" when your done
int a;
void setup(){
size(400,400);
noStroke();
}
void draw(){
background(128);
if(frameCount%10==0){
d(0,256);
}else{
d(50,random(128));
}
}
void d(int r,int a){
fill(255,0,0,a);
ellipse(mouseX+random(r)-r/2,
mouseY+random(r)-r/2,
50,
50);
}
// and click "save" when your done
int a;
void setup(){
size(400,400);
noStroke();
}
void draw(){
background(128);
if(frameCount%10==0){
d(0,256);
}else{
d(50,random(128));
}
}
void d(int r,int a){
fill(255,0,0,a);
ellipse(mouseX+random(r)-r/2,
mouseY+random(r)-r/2,
50,
50);
}
comments
loading...
Add a comment:
