Random Walk Generated by the Digits of Pi

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

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

This Demonstration represents the walk generated from the digits of in various bases by using the Mathematica built-in function AnglePath. Each successive step is a rotation at an angle determined by the digits times 90 degrees. Simple rules here generate a pattern that appears to be essentially random, as explained in Stephen Wolfram's Demonstration Randomness in the Digits of Pi.

Contributed by: Minjie Lei (June 2016)
Based on a program by: Stephen Wolfram
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.