RANDOM WALK
Pólya's Recurrence · ℤ¹ ℤ² ℤ³
Walk parameters
Steps
5,000
Controls
Preparing your walks…
Speed
×1.0
Live stats — by dimension
Pólya's theorem
1D & 2D: walker returns to origin with probability 1.
3D: only p₃ ≈ 0.3405 probability of ever returning.
⟨|Xn|²⟩ = n in every d.
Color = where in space
Same x/y region, same color family. In 3D, the shade changes above (+z)
or below (−z) the xy plane. Hover the swatches for details.
+x
−x (1D)
Older steps fade slightly. The two views show separate walks.
Keyboard
Space+drag pan 3D R reset
End jump to last
←/→ step ±1 ↑/↓ ±100