Scratch version of Pi estimation

I already went over a Monte Carlo method for estimating Pi - you know, for Pi-Day (March 14). Well, here is a small addition. This is the same thing done in Scratch.


If you create an account on Scratch, you can download the code of any project. I like Scratch.

More like this

Oh, I know you missed it. Really, it wasn't your fault. Pi day fell on a Sunday, so how are you supposed to have pi-day activities in class? Don't let it stop you. You are better than that. Do the activity anyway. What to do? Here are some suggestions. (Suggestions aimed mostly at the high…
Last October I reviewed Scratch Programming Playground, by Al Sweigart. You will recall that Scratch is a programming language that uses drag and drop elements to construct a program. Individual objecgts, including "sprites" that can move around on the screen, as well as static graphic elements…
"Now go on, boy, and pay attention. Because if you do, someday, you may achieve something that we Simpsons have dreamed about for generations: you may outsmart someone!" -Homer Simpson Today, March 14th, is known tongue-in-cheek as Pi Day here in the United States, as 3.14 (we write the month first…
Scratch Programming Playground: Learn to Program by Making Cool Games is a brand new offering from No Starch Press. Never mind all the other programming books for kids, this is the best so far. It helps that the Scratch Programming environment is so easy to use and allows such creative…

Do you think that you could include the animation behind a cut? It slows my browser down like crazy every time I load. When I try to search multiple times, I have to reload the main page several times. Thanks!


Sorry about that - I was sort of worried about that app autorunning. I have replaced it with picture and a link to the scratch website. Hope that fixes it.


My wife found the same thing - I suspect it is a problem with Scratch's random number generator. I could be wrong though.

WOW! This is the first time I've heard of Scratch. I teach algebra to 8th graders and this is exactly the kind of tool I've been looking for. The possibilities are overwhelming. Thanks for the tip!