Pi (π) Explorer: The Infinite Geometric Constant
Explore the ratio of a circle's circumference to its diameter through an interactive 3D bicycle wheel that unrolls its circumference to demonstrate exactly how many times pi fits around a circle. Search for your birthday hidden in pi's infinite decimals.
Pi Explorer
The infinite geometric constant visualised as a 3D bicycle wheel. Watch the circumference unroll to reveal exactly 3 full lengths plus the 0.14159… remainder.
Search the Infinite Library
Enter a number (birthday, phone number, etc.) to fly through a 3D library of digit cubes and find where your sequence appears in pi's decimals.
How to Use Pi Explorer
The tool visualises pi as the ratio of a circle's circumference to its diameter using a 3D bicycle wheel. The wheel renders with WebGL and Three.js, with spokes, a tyre, and a rim that you can orbit by dragging. Click Unroll Circumference to animate the tyre separating from the rim and laying flat, revealing three complete diameter-length segments plus the fractional pi remainder of approximately 0.14159.
Educators project the 3D wheel onto a screen and animate the unrolling process to give students a tangible, visual proof that pi relates circumference to diameter. The animation makes an abstract ratio concrete by showing exactly how many diameter-lengths fit around a circle.
Mechanical engineers calculating belt lengths, pulley systems, or gear ratios rely on pi to convert between rotational and linear dimensions. This tool helps visualise why that conversion factor exists and how it manifests in physical systems like bicycle wheels or conveyor belts.
The library search feature lets you look for any digit sequence within the first 100,000 digits of pi. Enter your birthday, phone number, or any meaningful sequence to experience the surprising ubiquity of patterns within irrational numbers. The camera flies to the matching position in a 3D library of floating digit cubes.
Pi is conjectured to be a normal number in base 10, meaning every finite digit sequence appears somewhere in its decimal expansion. The search feature demonstrates this empirically: most 8-digit sequences are found within the first 100,000 digits, giving a hands-on feel for digit distribution in irrational numbers.
How the 3D Pi Visualisation Works
The fundamental relationship expressed by pi is C equals pi times d, where C is the circumference and d is the diameter. This means if you take the diameter of any circle and lay it end-to-end along the circumference, you need exactly pi copies to cover the full loop. Since pi is approximately 3.14159, that is 3 complete diameter-lengths plus approximately 0.14159 of a fourth.
The Bicycle Wheel Unroll Animation
The visualisation models a bicycle wheel with a tyre of configurable radius. The tyre circumference is computed as 2 times pi times r, and the diameter as 2r. During the unroll animation, the tyre mesh is deformed from a torus shape into a flat line segment. Three evenly-spaced markers along the flat segment show where each complete diameter-length ends, and the final segment displays the 0.14159 remainder. The animation uses cubic easing for smooth deceleration.
The Infinite Digit Library
The search feature accesses a pre-computed string of pi's first 100,000 decimal digits. When a user enters a sequence, the tool scans this string using a substring search and returns the position of the first occurrence. If the sequence is found, the camera animates through a 3D library where each digit of pi is rendered as a floating cube, flying to the cube at the matching position and highlighting it with a glowing outline.
Normality and Digit Distribution
Pi is conjectured to be a normal number in base 10, meaning every finite digit sequence appears with equal asymptotic frequency. While this has not been formally proven, computational analysis of the first 100,000 digits shows a distribution consistent with normality: each digit 0-9 appears roughly 10% of the time, and all 2-digit, 3-digit, and 4-digit combinations appear with expected frequency.
Frequently Asked Questions
What is pi and why does it matter?
Pi is the mathematical constant representing the ratio of any circle's circumference to its diameter. Its value is approximately 3.14159265 and it continues infinitely without repeating. Pi appears throughout mathematics, from basic geometry and trigonometry to Fourier analysis, probability theory, and quantum physics. It is fundamental to any calculation involving circles, spheres, or periodic phenomena.
How many digits of pi does this tool use?
The tool stores the first 100,000 decimal digits of pi, which is sufficient for most educational and recreational searches. This represents pi accurate to about 0.00001%, far beyond the precision needed for any practical engineering calculation. For context, NASA uses only 15 decimal places for interplanetary navigation.
Can I find my birthday in pi?
Yes. Enter your birthdate as a continuous number, such as 19900415 for April 15, 1990, into the search box. If the sequence appears within the first 100,000 digits, the tool locates it and flies the camera to that position in the 3D library. Most 8-digit dates are found, though some may not appear in this range due to the random distribution of digits.
Is pi truly infinite, or does it eventually end?
Pi is a proven irrational number, meaning its decimal representation never terminates and never enters a repeating pattern. This was first proven by Johann Lambert in 1761. The digits continue forever in a sequence that passes every known statistical test for randomness, though no one has proven that pi is a normal number.
Why does the bicycle wheel show exactly 3 full lengths?
The diameter of a circle fits into its circumference exactly pi times. Since pi is approximately 3.14159, that means 3 complete diameter-lengths cover most of the circumference, leaving a remainder of approximately 0.14159 of a diameter. The unroll animation makes this visible by laying the tyre flat and marking where each diameter-length ends.
Does this tool work offline?
The tool runs entirely in the browser using WebGL for 3D rendering and vanilla JavaScript for pi digit search. No server communication is required after the initial page load. Once the page is cached, all calculations, animations, and searches happen locally on your device with zero data sent externally.