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,20 @@
// Example 10-08 from "Getting Started with Processing"
// by Reas & Fry. O'Reilly / Make 2010
float[] gray;
void setup() {
size(240, 120);
gray = new float[width];
for (int i = 0; i < gray.length; i++) {
gray[i] = random(0, 255);
}
}
void draw() {
for (int i = 0; i < gray.length; i++) {
stroke(gray[i]);
line(i, 0, i, height);
}
}