Press the green flag, and wait for Pi to be calculated. I take a circle of radius 100 and place one polygon outside, and one inside. The perimeter of the one on the outside will be bigger than 2pi*r; and the perimiter of the one on the inside will be smaller than 2pi*r. They both, however, approach 2pi*r. Given we know the radius, 100, we can divide by 2 * 100 to get Pi. The "LOWER BOUND" and "UPPER BOUND" variables both approach Pi, for they are the perimeters after the division is performed. The big orange variable contains the best guess for Pi... it's the average of the two
All of this is absolutely pointless because Scratch had to use its builtin version of Pi to draw the shapes. :tada: (I managed to get to 3.141593 leaving this running for a bit! That's actually the correct value after rounding!)