How to compute Pi with toothpicks


2024, Aug 30 edited
tags: code p5js javascript 


On many Pi days (3/14), Coding train proposes a different coding challenge aiming at recomputing Pi with different methods. This time, Buffon's needle problem will help once again computing a Pi approximation.


The fuel of coding inspiration:music, travel, photography and whatever drives creativity to code.

You might also like