Files
processing4/java/examples/Books/Nature of Code/introduction/RandomWalkTraditional3/RandomWalkTraditional3.pde

21 lines
252 B
Plaintext

// Daniel Shiffman
// The Nature of Code
// http://www.shiffman.net/
Walker w;
void setup() {
size(200,200);
// Create a walker object
w = new Walker();
background(0);
}
void draw() {
// Run the walker object
w.step();
w.render();
}