Created
February 18, 2020 01:21
-
-
Save MortytKane/47aad81f34b58de51fe633503674a64d to your computer and use it in GitHub Desktop.
can you guys help me?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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