Uploaded by jaowq

Jashyi Bryant Hour of Code

advertisement
http://hello.processing.org/display/#@-N-kFieQE1ZteKFCRuFA
void setup() {
size(500,400);
}
void draw() {
background(0);
if (mousePressed) {
fill(0,255,0);
} else {
fill(255,0,0);
}
ellipse(mouseX,mouseY,60,60);
}
background(216,225,149);
stroke(255,0,0);
rect(95,45,300,300);
rect(165,250,156,60);
rect(185,150,30,30);
rect(265,150,30,30);
rect(220,345,50,50);
Download