Buffon's needle

user_icon Jens shared it 9 months ago
385 views, 5 people love it, 2 taggers, 29 downloads, in 4 galleries
Add to my favorites?
Flag as inappropriate?

Comments

You need to be logged in to post comments

Add a Comment

planetX planetX 4 months, 1 week ago

i was wonderig if you might want to enter this in the Scratch Pi Day Contest. See below links for more info. (link to project). (link to gallery)

(view all replies)
Comment Reply

funkymonkey funkymonkey 4 months, 2 weeks ago

it is closer to the actual pi in the beggining, then it slowley gets bigger. this is amazing programming

(view all replies)
Comment Reply

Jens Jens 4 months, 3 weeks ago

hmm, forest, I actually have no idea...

(view all replies)
Comment Reply

forest forest 4 months, 3 weeks ago

just wanted to ask a question.. What is it that creates such a delay in processing that projects which work ok offline struggle to actually work online?

(view all replies)
Comment Reply

Giantfishy Giantfishy 5 months, 2 weeks ago

Pi? Pi is the circumference of a circle divided by the diameter. It's the same on every circle possible. I memorized it up to 21 decimal places. :) 3.141592653589793238462.

(view all replies)
Comment Reply

Scratchie Scratchie 5 months, 2 weeks ago

What's pi?

(view all replies)
Comment Reply

NobodyKnowsNorune NobodyKnowsNorune 6 months, 3 weeks ago

wow

(view all replies)
Comment Reply

Paddle2See Paddle2See 7 months, 1 week ago

I'm pretty certain I had to program this about 30 years ago as a homework assignment. At that time, it seemed to give a pretty accurate value of pi...maybe it was a different technique but it sure looks familiar. Maybe I can find my notes....Very interesting, even if not accurate.

(view all replies)
Comment Reply

7 months, 2 weeks ago

Yeah and Jens happens to be one of the best adult people programmers in my opinion he is really good! I like this project

(view all replies)
Comment Reply

Crazydylan Crazydylan 7 months, 3 weeks ago

Adudeok, So what if Jens is an adult? There can be adults on scratch to.

(view all replies)
Comment Reply

Adudeok Adudeok 7 months, 3 weeks ago

wait jens r u like serously a 40 yr old man?

(view all replies)
Comment Reply

Klovira Klovira 8 months, 2 weeks ago

You is Crazy"

(view all replies)
Comment Reply

EdnaC EdnaC 9 months ago

Jens, You've caused me to waste a bunch of time researching "Buffon's needle". Googling turned up legitimate sounding explainations of why the method should converge to pi, and others that claim you need to "cheat" by choosing the length of the needle relative to the distance between the joints. I'll have to waste even more time tomorrow trying to figure out what to believe. Very nice.

(view all replies)
Comment Reply

Jens Jens 9 months ago

This project does indeed *not* compute pi accurately, nor does it 'converge' progressively. It is just an illustration of a historical anectode which has in past times been actually tried by a number of rather serious scientists <grin>. If you're looking for something more precise please have a look at David Hellam's cool Monte Carlo project: (link to project).

(view all replies)
Comment Reply

Oldschooler2 Oldschooler2 9 months ago

This gets very inaccurate when the "value" of "pi" is greater than or less than approximately 3.1415926 (the true value of pi). This project sets the value of pi completely off, because the value of pi is always constant, and this is just a rational number value stated for pi, but pi is an irrational number.

(view all replies)
Comment Reply

Chimpanzee Chimpanzee 9 months ago

try this (link to project)

(view all replies)
Comment Reply

MyRedNeptune MyRedNeptune 9 months ago

Wow. I like the praphics.

(view all replies)
Comment Reply

chalkmarrow chalkmarrow 9 months ago

Cool. I remember this. Converges slower than I expected.

(view all replies)
Comment Reply

Processing