-
-
Save slambert/2d4cca636eb93cb6b13fabf9323e7c3b to your computer and use it in GitHub Desktop.
can you guys help me?
This file contains hidden or 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
// Where's your comments? | |
// Also add .pde to your filename to get the colors and hilighting to show up in your gist. | |
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"); | |
} // Morty, you didn't close this bracket | |
int y=0; | |
while(y < height) { | |
stroke(0); | |
// you've got black stroke and no fill? | |
// where are you declaring that she colors should change? | |
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