Monday, May 10, 2010
Many drops
// just type here
// and click "save" when your done
void setup(){
size(400,300);
background(#c6376d);
smooth();
noStroke();
}
void draw(){
fill(#c6376d,20);
rect(0,0,width, height);
translate(random(0,width),random(0,height));
fill(#b8557a);
drawDrop();
translate(-2,-2);
fill(#b8557a);
drawDrop();
translate(1,1);
fill(#f872a4);
drawDrop();
}
void drawDrop(){
//translate(-2,2);
ellipse(0,0,20,20);
triangle(-5, -9, 15, -20, 10, 3);
}
// and click "save" when your done
void setup(){
size(400,300);
background(#c6376d);
smooth();
noStroke();
}
void draw(){
fill(#c6376d,20);
rect(0,0,width, height);
translate(random(0,width),random(0,height));
fill(#b8557a);
drawDrop();
translate(-2,-2);
fill(#b8557a);
drawDrop();
translate(1,1);
fill(#f872a4);
drawDrop();
}
void drawDrop(){
//translate(-2,2);
ellipse(0,0,20,20);
triangle(-5, -9, 15, -20, 10, 3);
}
info
submitted by: DARYL_Gammaviews: 1003
this is inspired by Tiger Pixels "Raindrops" shot on dribbble
This sketch has a parent
comments
loading...
Add a comment: