Buffon's Dynamite (Needle) Experiment for Pi | JavaScript with p5.js | #Shorts | The Coding Kid



Buffon's Dynamite (Needle) Experiment for Pi | JavaScript with p5.js | #Shorts | The Coding Kid

Buffon's Dynamite (Needle) Experiment for Pi | JavaScript with p5.js | #Shorts | The Coding Kid

In this short we celebrate Pi Day by calculating Pi using Buffon’s Needles with JavaScript and the p5.js library.

Code on GitHub: https://github.com/ajTronic/BuffonsDynamiteExperiment
@numberphile Explanation: https://www.youtube.com/watch?v=sJVivjuMfWA
Wiki: https://en.wikipedia.org/wiki/Buffon%27s_needle_problem
Getting Started with p5.js: https://youtube.com/watch?v=W3X2CEdcTSU

Comments are closed.