Last active
October 7, 2015 03:17
-
-
Save kunishi/3096487 to your computer and use it in GitHub Desktop.
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
void setup() { | |
size(480, 120); | |
smooth(); | |
} | |
void draw() { | |
if (mousePressed) { | |
fill(0); | |
} else { | |
fill(255); | |
} | |
ellipse(mouseX, mouseY, 80, 80); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment