Skip to content

Instantly share code, notes, and snippets.

@MortytKane
Created February 18, 2020 01:21
Show Gist options
  • Save MortytKane/47aad81f34b58de51fe633503674a64d to your computer and use it in GitHub Desktop.
Save MortytKane/47aad81f34b58de51fe633503674a64d to your computer and use it in GitHub Desktop.
can you guys help me?
void setup() {
size(700, 700);
background(#D3FCFF);
noStroke();
println("setup done");
ellipseMode(CENTER);
}
void draw() {
//println("mousex = " + mouseX);
//println("mousey = " + mouseY);
println("button = " + mouseButtonSwitch);
if(mouseButtonSwitch == false){
background(#D3FCFF);
println("false");
} else {
background(#EA2B91);
println("true");
int y=0;
while(y < height) {
stroke(0);
ellipse(width/5*1, height/2, circleWidth, circleWidth);
y = y + 10;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment