Created
September 3, 2014 02:04
-
-
Save nataliefreed/5532ba695e62c0a550be to your computer and use it in GitHub Desktop.
Displays cursor location in Processing
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
void setup() | |
{ | |
size(400, 400); | |
} | |
void draw() | |
{ | |
background(255); | |
fill(0); | |
text(mouseX + "," + mouseY, 10, 20); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment