//JS pseudo TurboPascal simulator script //program mageye; { Lutz Tautenhahn (c) 1995, 1999 } var i0=320; var j0=240; var imax=640; var jmax=480; var imin=0; var jmin=0; var xp=120; var zp=1000; var z0=-451; var dz=50; var dzmax=5; function infeld1(xx,yy) // {Gitter} { if(((Math.round(Math.abs(xx))%100) <= 40)|| ((Math.round(Math.abs(yy))%100) <= 40)) return(true); return(false); } function infeld2(xx,yy) // {Kreis} { var rr; rr=200; if (xx*xx+yy*yy