Stochastic Process Visualizer

Visualize random walks and Markov chains with in-browser simulation and lightweight charts.

Runs locally in your browser. Inputs are not uploaded. This tool is for learning/visualization (not a prediction or security guarantee).

Other languages: en | ja | es

Why this stochastic process visualizer?

How to use (3 steps)

  1. Choose a mode: Random Walk or Markov Chain.
  2. Adjust settings (steps, paths, or transition matrix).
  3. Run, then download or copy a settings-only URL.

Visualize

Random walk & Markov chain

Two lightweight modes: random-walk trajectories/MSD and Markov probability evolution/graphs.

For 1D, this becomes p(right). For 2D, it biases the direction softly.

0°
Advanced

Visualization

Trajectories

MSD

Distribution

Probability table (sample)

Details

Notes

These visualizations help build intuition. They do not guarantee prediction accuracy or cryptographic security.

Frequently asked questions

What is a random walk?
A random walk is a process that moves step-by-step in random directions. It is a basic model for diffusion and noise.
What is a Markov chain?
A Markov chain is a process where the next state depends only on the current state, via a transition matrix.
Does a stationary distribution always converge?
Not always. Periodic or reducible chains may not converge from every initial distribution, even if a stationary distribution exists.
Is my input uploaded?
No. Everything runs locally in your browser.

Related tools

Related calculators