//JS pseudo TurboPascal simulator script var x0=320,y0=440,sfx=230,sfy1=170,sfy2=150,imax=200; var graphdriver,graphmode,i,j,col; var z1,z2,time=0; function run() { if (nreadln<1) { initgraph(); do { z1=Math.random()*2; z2=Math.random(); if ((z1-1)*(z1-1)+(z2)*(z2)<1) { i=x0+Math.round(sfx*z2); j=y0-Math.round(sfy1*z1+sfy2*z2); col=4; putpixel(i,j,col); putpixel(2*x0-i,j,col); } time++; } while(time<33000); readln(''); return; } closegraph(); exit(); }