...
Code Block |
---|
void setup() { size(300,300); background(0); } void draw() {} void mousePressed() { println("x:" + mouseX + ", y:" + mouseY); } |
Exercise
...
4
Create a program where a unique shape follows the mouse position.
...
...
Code Block |
---|
void setup() { size(300,300); background(0); } void draw() {} void mousePressed() { println("x:" + mouseX + ", y:" + mouseY); } |
...
Create a program where a unique shape follows the mouse position.
...