The mathematical theory behind Buffon's needle leads to an estimation of pi out of the proportion of the number of needles that cross the horizontal lines and the total number of fallen needles. The applet provides the opportunity to discover the influence on the position in the diagram of the values for the inclination angle theta and the length of the needle l.