Files
processing4/java/examples/Books/Nature of Code/introduction/RandomWalkPVector/RandomWalkPVector.pde
2012-12-11 20:04:34 +00:00

25 lines
273 B
Plaintext

// The Nature of Code
// Daniel Shiffman
// http://natureofcode.com
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();
}