Just click the green flag and see the final result after N throws of pencils. You should start seeing some interesting results by around 500 throws.
This is a very pratical (and statistical) method to approximately compute Pi :) I found the inspiration from this page: https://www.wikihow.com/Calculate-Pi-by-Throwing-Frozen-Hot-Dogs