adding nature of code examples

This commit is contained in:
shiffman
2012-09-04 00:55:42 +00:00
parent 6e10c689e1
commit 6ad7b782d9
581 changed files with 229203 additions and 0 deletions
@@ -0,0 +1,24 @@
// Random Walker (No Vectors)
// Daniel Shiffman <http://www.shiffman.net>
// The Nature of Code
Walker w;
void setup() {
size(400,400);
frameRate(30);
// Create a walker object
w = new Walker();
}
void draw() {
background(255);
// Run the walker object
w.walk();
w.render();
}