Files
sunny9898/task8/_ref/noc-examples-processing-master/introduction/RandomWalkTraditional2/RandomWalkTraditional2.pde
louiscklaw 5637fbf94f update,
2025-02-01 02:07:58 +08:00

21 lines
251 B
Plaintext

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