Coding Challenge 176: Buffon’s Needle

How do toothpicks approximate the value of pi? I’ll show you by coding a simulation in ! Code: 🚀 Watch this video ad-free on Nebula Web Editor Sketches: 🕹️ Buffon’s Needle: 🕹️ Line Line Intersection: 🕹️ Probability Density Function Graph: 🎥 Previous video: 🎥 All videos: References: 🔗 Buffon’s Needle: ’s_needle_problem 🔗 Analysis and Simulation: 🔗 Pickup Sticks & Pi: Related Coding Challenges: 🚂 95 Approximating the Value of Pi: 🚂 145 Ray Casting 2D: Editing by Mathieu Blanchette Animations by Jason Heglund Pi Day Song by Will from America Other music from Epidemic Sound 🚂 Website: 👾 Share Your Creation! 🚩 Suggest Topics: 💡 GitHub: 💬 Discord: 💖 Membership: 🛒 Store: 🖋️ Twitter: 📸 Instagram: 🎥 Coding Challenges: 🎥 Intro to Programming: 🔗 : 🔗 Web Editor: 🔗 Processing: 📄 Code of Conduct: This description was auto-generated. If you see a problem, please open an issue: #piday #pi #buffonsneedle #buffon #p5js #javascript
Back to Top