Random Walk and Diffusion of Many Independent Particles: An Agent-Based Simulation

This Demonstration simulates the random walk of multiple independent particles in a bounded square in 2D. Initially, particles are randomly distributed near the center. At every time step, a small random perturbation ("noise") is added to the position of each particle, resulting in the particles' diffusion over the entire space. You can stop and restart the simulation using the "run simulation" checkbox.