i think i really got it this time, nature of code in

This commit is contained in:
shiffman
2012-09-04 01:47:20 +00:00
parent b5b67a12b5
commit 1d86e1f5bf
541 changed files with 35009 additions and 0 deletions
@@ -0,0 +1,22 @@
// The Nature of Code
// http://www.shiffman.net/
void setup() {
size(400,200);
smooth();
}
void draw() {
background(255);
noFill();
stroke(0);
strokeWeight(2);
beginShape();
for (int i = 0; i < width; i++) {
float y = random(height);
vertex(i,y);
}
endShape();
noLoop();
}