This work explore the relationship between adjacent digits in pi, which are encoded by color using the scheme shown below.
0 — #9E0142 1 — #D53E4F 2 — #F46D43 3 — #FDAE61 4 — #F4DA6E 5 — #EAEE60 6 — #ABDDA4 7 — #66C2A5 8 — #3288BD 9 — #5E4FA2
The realtime experience of pi calculation is accomplished via an implementation of a streaming algorithm described by Jeremy Gibbons in Unbounded Spigot Algorithms for the Digits of Pi (2004). The calculation will continue as long as there is enough memory.
Requirements:
Built with JavaScript, Python.