Bill Examples

M&MStudioBV
This commit is contained in:
Bill Verplank
2013-02-05 19:01:35 +01:00
parent a7408c519a
commit 336b2b45ab
42 changed files with 2036 additions and 0 deletions
@@ -0,0 +1,22 @@
// Click within the image to change
// the value of the rectangle
int value = 20;
void setup(){
size(300,400);
stroke(value);
background(250);
}
void draw(){
value = mouseX;
fill(value);
stroke(value-100);
}
void mouseReleased() {
ellipse(mouseX,mouseY,20,20);
}