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