randarium
Education

Random Walk Simulator

Explore random motion by plotting the path of a reproducible walk.

Also known as: drunkard walk · walk simulation

seeded

Output

No output yet — set your options and hit .
About this tool, tips & examples

What it does

The Random Walk Simulator plots random motion live: a one- or two-dimensional walk of up to 10,000 steps, with configurable step size and step distribution. Where the Random Walk generator outputs the numbers, this education-focused simulator shows the path — watch randomness accumulate into structure, and reproduce any walk from its seed.

Common use cases

  • Probability lessons — the visual proof that fair steps still wander: project a 2D walk and watch intuitions recalibrate.
  • √n demonstrations — run several walks of increasing length and compare how far they end up from the start.
  • Algorithm demos — random walks underlie diffusion, PageRank intuitions, and MCMC; a visible walk makes those lectures concrete.
  • Student experiments — each student takes a seed, runs the same settings, and the class compares outcomes — same process, wildly different paths.

Settings

  • Dimension — 1D (a wandering line over time) or 2D (a path on the plane).
  • Steps — 1 to 10,000.
  • Step size / Step distribution — how far and how each move is drawn.
  • Seed — the same seed and settings reproduce the identical walk — everyone can see the same figure, or deliberately different ones.

Privacy note

Simulation runs locally in your browser; nothing is uploaded. It’s a mathematical toy — the wandering footprints of a very fair coin, not data about anything real.

FAQ

What should students notice? Three things: paths drift much farther than intuition expects (~√n), 2D walks revisit regions in clumps rather than filling space evenly, and no two seeds look alike despite identical rules.

1D or 2D for teaching? Start 1D (position vs time reads like a chart), then go 2D for the wow — the clumpy, organic wandering is what makes the lesson stick.

Where’s the data version? The Random Walk generator exports the raw series for spreadsheets; the Brownian Motion tool adds drift and volatility for the finance-flavored continuum version.