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

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

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.

Contributed by: Hiroki Sayama (March 2011)
Open content licensed under CC BY-NC-SA



Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.