Watch as this project goes through exactly 27954923 cycles, calculating Pi as accurately as possible!!!!!!!!! Hit space so many weird scratch bugs happened when making this project, look below if you wanna learn more First thing that was odd: I had made my custom block `define pi (precision)`, and after I made it, I noticed that nothing worked. The `i` variable didn't even count up. I tried everything, but when I removed the repeat block it worked. So I removed it and re-added it. It didn't work. After a lot more testing, apparently the `precision` custom blocks variable caused every block that had it to not behave correctly. Second thing that was weird: I placed my `pi (precision)` custom block under a space key pressed hat block, and I left it to work on a different sprite for a bit. When I came back, the precision variable input was greyed out for some reason, like it was a boolean input and not a number one. Third thing that was weird: I changed the `pi` block to not run without screen refresh for a while to see what it looked like, and when I tried to change it back, it wouldn't let me hit the `OK` button to close the custom block editor for some reason. This was all a pain in the butt for what I thought would be a 30-minute code :sob:
https://www.askamathematician.com/2018/05/q-what-is-the-most-complicated-equation/ It's the section on calculating Pi Taylor's formula, i think haha clickbait thumbnail :P