mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
removing old nature of code examples before adding new ones
This commit is contained in:
-22
@@ -1,22 +0,0 @@
|
||||
// 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();
|
||||
}
|
||||
Reference in New Issue
Block a user