RANDOM WALK
Pólya's Recurrence · ℤ¹ ℤ² ℤ³
Walk parameters
Steps
5,000
Controls
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
Each path segment is colored by the quadrant / octant of the walker.
Newer steps brighter; older steps fade.
+x
−x (1D)
Q1 (++)
Q2 (−+)
Q3 (−−)
Q4 (+−) (2D)
Keyboard
Space+drag pan 3D R reset
B build End jump to last
←/→ step ±1 ↑/↓ ±100