A simple demo for creating (spawning) objects (walkers) which moves randomly on the canvas using P5 JS library
A Walker can take a step in 4 possible directions:
- Left (East)
- Right (West)
- Forward (North)
- Backward (South)
A random number is generated (between 1-4) for every step and based on that random number it is decided which direction the walker will take a step