Sunday, May 31, 2009
colourful heart
void setup() {
size (400,400);
}
void draw(){
background(mouseX, mouseY,10);
smooth();
noStroke();
fill (25, mouseX, mouseY);
triangle(mouseX, mouseY, 280, 150, 180, 320);
bezier(mouseX, mouseY, 10, 10, 185, 10, 210, 150);
bezier(mouseX, mouseY, 220, 10, 320, 10, 280, 150);
}
size (400,400);
}
void draw(){
background(mouseX, mouseY,10);
smooth();
noStroke();
fill (25, mouseX, mouseY);
triangle(mouseX, mouseY, 280, 150, 180, 320);
bezier(mouseX, mouseY, 10, 10, 185, 10, 210, 150);
bezier(mouseX, mouseY, 220, 10, 320, 10, 280, 150);
}
comments

sign in to Add a comment: