🕛
Thursday / Jun 26th, 20256/26/2025

#176 — Buffon's Needle

Topics

Pi day,Pi,
Nebula logo

How do toothpicks approximate the value of pi? I'll show you by coding a simulation in p5.js!

  • Editing

    by Mathieu Blanchette

  • Animations

    by Jason Heglund

  • Pi Day Song

    by Will from America

Passenger Showcase

The Showcase is collection of projects created by viewers like you!

Have you made something? Please share your work!

Try a challenge!

Suggested by the video you're watching

"Toothpicks" challenge

In this coding challenge, I implement Omar Pol’s fractal toothpick sequence.