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
@@ -0,0 +1,17 @@
// Example 07-21 from "Getting Started with Processing"
// by Reas & Fry. O'Reilly / Make 2010
float angle = 0.0;
void setup() {
size(120, 120);
smooth();
}
void draw() {
translate(mouseX, mouseY);
scale(sin(angle) + 2);
rect(-15, -15, 30, 30);
angle += 0.1;
}