Enter in a number of sides. The more sides you do, the closer your shape will be to a circle and the closer it will calculate to pi.
Notes and Credits
This project calculates pi by mesuring the radius and the perimeter (circumference on a circle). The more sides the closer the shape is to a circle making the pi estimate more accurate.
TurboWarp is a Scratch mod that compiles projects to JavaScript to make them run really fast. Try it out by inputting a project ID or URL above or choosing a featured project below.