Created
January 18, 2015 03:04
-
-
Save simplyluke/3c0b4ad837dc300a6ba2 to your computer and use it in GitHub Desktop.
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
//for the ball of yarn | |
if (keyPressed){ | |
if (key == 'g') { //changes color to green | |
fill (#3CB2B4); | |
} | |
if (key == 'p') { //changes color to purple | |
fill (#4436A1);} | |
} else { | |
fill (#307691);} //teal color | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment