//declare variables
int counter;
void setup(){
//initialize values
size(500,500);
background(255);
println("This is the setup function");
counter = 0;
//drawCircles(mouseX,mouseY);
}
void draw(){
counter = counter + 1;
println(counter);
println("This is the setup function");
println(mouseX + " " + mouseY);
fill(0,0,255);
noStroke();
//background(255);
ellipse(mouseX-50,mouseY,10,10);
fill(255,0,0);
ellipse(mouseX+50,mouseY,10,10);
fill(0,255,0);
ellipse(mouseX,mouseY-50,10,10);
fill(255,2555,0);
ellipse(mouseX,mouseY+50,10,10);
//pushMatrix();
//translate(X,Y)
// popMatrix();
}
confetti maker

No comments:
Post a Comment