En 36x36 kvadrat fylls med cirklar som inte överlappar. Cirklarna väljs slumpmässigt en i taget: först väljs radien inom området 1 - 9, sedan medelpunkten inom sådana gränser att hela cirkeln ryms i kvadraten. Bara cirklar som inte överlappar med de tidigare ritas! 10000 cirklar väljs. Undersök hur antalet cirklar som ritas varierar. ---------------------------------------------------------------------------------------- A 36x36 square is filled with non-overlapping circles. The circles are chosen randomly one by one: first the radius is chosen in the range 1 - 9, then the center in such a way that the circle is inside the square. The new circle is drawn only if it doesn't overlap with any earlier one! Of 10000 circles (trials) only some will fit. You can see the number of them (circles) - but if you want to estimate the number from the picture, press space to hide the number till the drawing is completed.
Tryck på b för att byta bakgrund ( rutor / svart ). Tryck på mellanslag för att gömma antalet ritade cirklar om du vill gissa först! Press b for change of background ( squares / black ). Press space if you want to hide the number of circles and estimate it first. ---------------------------------------------------------------------------------------------- Thank you Selim for a beautiful tool for exploration! It also gave me this idea to try a somewhat different approach to the problem.