mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// Example 07-17 from "Getting Started with Processing"
|
||||
// by Reas & Fry. O'Reilly / Make 2010
|
||||
|
||||
void setup() {
|
||||
size(120, 120);
|
||||
}
|
||||
|
||||
void draw() {
|
||||
translate(mouseX, mouseY);
|
||||
rect(0, 0, 30, 30);
|
||||
translate(35, 10);
|
||||
rect(0, 0, 15, 15);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user