Switch to full stage
Loading Project
Loading project …

Instructions

Happy pi day! Just click the green flag and wait. You will see 2 blocks moving into each other using real-life physics. (except friction) The "Counter" variable will go up by one each time the blocks interact. Using this it is possible to estimate the value of pi.

Notes and Credits

I saw this video by The Coding Train 2 years ago and wanted to do something similar in Scratch.

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.