[RUN IN TURBO MODE] <-- (To do so Shift + Left Click the Green Flag) (THIS CAN GET A BIT RESOURCE INTENSIVE IF YOU REALLY WANT TO CALCULATE A GOOD ESTIMATE OF PI, SO CHANGE THE REPEAT CODE TO 10 OR SOMETHING) Welcome to the Pi Estimate Computer! Keep it running for a few seconds to get a good estimate. How it works: If you see this circle, its total area inside the square is actually 1/4 of the square, as you can see those empty (but equal) gaps that the circle leaves, they are exactly 4. This dot is actually filling in areas of the circles (area), but more estimated, so its not the total circle area. But hey, it computes an estimate to pi and im so proud of that. (THIS IS NOT A MATHEMATICAL IDEA/CONCEPT CREATED BY ME, RATHER, I AM JUST TRYING TO REPLICATE IT IN SCRATCH) The accuracy is pretty impresive! Note: The accuracy goes over 100 because sometimes my generated value of pi can be bigger than the original constant.
All me 100%