moving getting started to the books subfolder

This commit is contained in:
benfry
2011-01-26 19:27:48 +00:00
parent eb64b2d4fc
commit a187b61523
145 changed files with 0 additions and 0 deletions
@@ -0,0 +1,19 @@
// Example 07-22 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);
float scalar = sin(angle) + 2;
scale(scalar);
strokeWeight(1.0 / scalar);
rect(-15, -15, 30, 30);
angle += 0.1;
}