Thursday, July 18, 2013
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:
keyaaa1290views: 2
this is inspired by Tiger Pixel's "Raindrops" shot on dribbble: http://dribbble.com/shots/18782-Raindrops Tiger Pixel's profile page on dribbble is here: http://dribbble.com/players/tigerpixel

comments

Add a comment: