This is my second project made for Pi Day this year! (because I didn't do anything for last year's Pi Day!) Welcome to the Pi Project! How to play: It is a test, representing the Buffon's Needle problem. Click "drop" as many times as you want to drop sticks onto the grid. Click the reset button to reset the grid, and the pi button to see your final estimate of pi. (2xnumber of drops / number of sticks on line) To learn more about the Buffon's Needle Problem, click the question mark on the top left corner. Goal: Learn more about pi! Have fun! Updates: v1.5 - 3/17/2026, Added 2 more "stick" sprites, for more sticks thrown, and therefore a more accurate calculation. v2.0 - 3/18/2026, Added a "pick random" code to the number of sticks dropped each time, to make things more randomized. World Records: 3.141361, @GBLover73 3.141361, @Toaster_Coding 3.141361, @usernamethtisnotused 3.141361, @sunnies101
Try this yourself at home! Materials: - Paper - Ruler - Pencil - Toothpick(s) (or any small straight stick) Time Needed: About 5 minutes to set up, plus time for dropping and counting. Steps: 1. Draw lines across the paper, spaced the same distance apart as the toothpick’s length. 2. Drop the toothpick onto the paper from above. 3. Check the landing and mark whether it touches a line or does not touch a line 4. Repeat many times and keep two counts: - How many total drops - How many times the toothpick touched a line 5. Calculate your estimated pi by using this simple formula: Estimated pi = 2 x total drops / drops that touched a line. Please add to this studio: https://scratch.mit.edu/studios/28715018/comments/ Credit to Georges-Louis Leclerc, Comte de Buffon for inventing the Buffon's Needle Problem! Please tell me if there's any glitches; thanks! Please love, fave, and/or follow for more! If you have any questions/comments, go to or my profile! Make sure to check out some of my other projects by clicking on my profile picture! All advertisements will be reported! 'sneedle .14