Skip to content

Instantly share code, notes, and snippets.

@simplyluke
Created January 18, 2015 03:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simplyluke/92701dc259571bd28621 to your computer and use it in GitHub Desktop.
Save simplyluke/92701dc259571bd28621 to your computer and use it in GitHub Desktop.
//for the nose
fill (#F1D5E5);
if ((keyPressed) && (key == CODED)){
if (keyCode == UP) {
fill (#F1D5E5);
ellipse (250,265, 9,8); //makes the nose bigger
}
} else {
ellipse (250,265, 5,4);
}
fill (#307691);// set the color to teal so the up arrow being pressed doesn't interfere
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment