Sketch 5 – Random Walker

This sketch creates a particle that wanders randomly across the screen — unpredictable motion driven by chance.

✅ Conditional: Edge wrapping → if (x < 0) x = width; if (x > width) x = 0;

✅ Loop: Continuous draw loop generating random steps

✅ Custom variables: position, step size, randomness

⬇ Download sketch5.js