false400.0false400400400.00.9501filenamethrowingDarts$0.mmldate1346437104000url/Users/ddamelin/Documents/CC Stuff/Interactions/Investigation Resources/Investigation 2/throwingDarts/throwingDarts$0.mmlsize39545codebase/model/1397de7c4a2define %x 0;
define %y 0;
define %r1 0;
define %r2 0;
define %s1 0;
define %s2 0;
define %w2 %width/2;
define %h2 %height/2;
define %sigma 0.5*%atom[0].sigma;
define %dx 0;
define %dy 0;
define %flag 1;randomly generate the pinholes1Throwif(%number_of_images>=1000);
stop;
select ellipse 2;
set visible on;
select ellipse none;
set textbox[1].visible off;
set textbox[2].visible on;
return;
endif;
show selectionhalo off;
set %r1 rand();
set %r2 rand();
//Box-Muller transform
set %s1 sqrt(-2*ln(%r1))*cos(2*pi*%r2);
set %s2 sqrt(-2*ln(%r1))*sin(2*pi*%r2);
set %x %w2+0.25*%w2*%s1;
set %y %h2+0.25*%h2*%s2;
if(%x>0 and %x<%width and %y>0 and %y<%height);
set %dx %x-%atom[0].rx;
set %dy %y-%atom[0].ry;
if(%dx*%dx+%dy*%dy>%sigma*%sigma);
if(%flag==0 and %number_of_atoms>1);
while(%number_of_atoms > 1);
select atom "%number_of_atoms-1";
remove;
endwhile;
endif;
add image dot.png (%x, %y);
select image none;
endif;
endif;
show selectionhalo on;
101.33244245239255false-1-13421773-16711936-16777216100.012100.0150.0150.0false200.022120420420425520200.0100.0100.0185false015325525524424523925510361042320.01220false320.040.040.0310128128128255false1233190.0-340.0200.0false1243200.0190.0-340.024truefalsetrue11falseArial11220400255125Keep throwing darts until you clearly see a "blue cloud"
indicating the distribution of dart throws.36.0359.011Arial11201530255126This blue haze indicates where the next dart throw will land -
more likely where the haze is dark, less likely where it is light.false22.047.0112false128192255255Arial2121272A dart board.12.09.0255128128255210173.0200.0201.0113.0199.66667108.0255255128255220200.0200.66666229.0109.0200.44444115.0230254.0200.44444272.0127.0201.2963146.0240228.0199.66666254.0112.0200.44446127.0250274.0199.66666287.0146.0200.44446173.0260249.0199.0270.0280.0199.0258.0270172.0198.44446144.0113.0199.2963130.0280287.0200.44446290.0173.0200.2963200.0290200.0140.0167.0200.0270.0285.02100142.0198.66667124.0130.0200.44444151.02110111.0200.44446116.0201.0200.2963227.02120199.0167.0200.0200.0283.0291.02130125.0200.44446114.0150.0200.2963176.02140112.0200.0109.0176.0199.0203.02150113.0199.66667124.0229.0200.44446251.02160287.0200.0293.0230.0200.0199.02170199.0272.0286.0201.0256.0231.02180199.0125.0142.0200.0249.0267.02190226.0199.0250.0287.0198.0278.02200201.0199.0226.0292.0199.0288.01falsefalse200.0200.0