Skip to content

Instantly share code, notes, and snippets.

@slambert
Forked from MortytKane/not a bee anymore
Last active February 18, 2020 02:51
Show Gist options
  • Save slambert/2d4cca636eb93cb6b13fabf9323e7c3b to your computer and use it in GitHub Desktop.
Save slambert/2d4cca636eb93cb6b13fabf9323e7c3b to your computer and use it in GitHub Desktop.
can you guys help me?
// 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