Monday, July 22, 2013
// just type here
// and click "save" when your done
float motion = 0.0;
void setup(){
size(800,500);
background(255);
}
rect(0,0,width, height);
fill(255,40);
float motion = 0.0;
float motion = 0.0;
motion = (motion + 0.3)%height; smooth();
int box_space = 50;
int margin = 20;
motion = (motion + 0.3)%height;
for(int i = margin; i <500-margin; i += box_space){
for(int j = margin; j <800-margin; j += box_space) {
line(j,mouseY,mouseX,i);
strokeWeight(motion);
stroke(40);
}
}
// and click "save" when your done
float motion = 0.0;
void setup(){
size(800,500);
background(255);
}
rect(0,0,width, height);
fill(255,40);
float motion = 0.0;
float motion = 0.0;
motion = (motion + 0.3)%height; smooth();
int box_space = 50;
int margin = 20;
motion = (motion + 0.3)%height;
for(int i = margin; i <500-margin; i += box_space){
for(int j = margin; j <800-margin; j += box_space) {
line(j,mouseY,mouseX,i);
strokeWeight(motion);
stroke(40);
}
}
comments

Add a comment: