This commit is contained in:
benfry
2011-01-26 19:22:19 +00:00
parent d3a18c7964
commit eb64b2d4fc
1234 changed files with 96518 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
// Example 02-01 from "Getting Started with Processing"
// by Reas & Fry. O'Reilly / Make 2010
ellipse(50, 50, 80, 80);

View File

@@ -0,0 +1,17 @@
// Example 02-02 from "Getting Started with Processing"
// by Reas & Fry. O'Reilly / Make 2010
void setup() {
size(480, 120);
smooth();
}
void draw() {
if (mousePressed) {
fill(0);
} else {
fill(255);
}
ellipse(mouseX, mouseY, 80, 80);
}