Run the code to find the numerical value of π to 50 digits. Try getting more than 50 digits—for example, 1,000:
Get a list of the first 100 digits of π in base 10. Try bases other than 10—for example, 2:
Count how often 0 through 9 occur in the first 100 digits. Try more digits than 100:
Make a bar chart of 0 through 9 frequencies. See if it evens out with more than 100 digits:
Make a 20×20 array of π digits. Try sizes other than 20—for example, 40:
Visualize the array of digits. Try a larger array than 20×20:
Add color:
Make a “π random walk”. Try it for more than 100 digits: