Title: Menger 168.10016 Post by: trafassel on December 04, 2016, 08:47:16 PM Menger 168.10016 (http://nocache-nocookies.digitalgott.com/gallery/19/999_04_12_16_8_47_16.jpeg) http://www.fractalforums.com/index.php?action=gallery;sa=view;id=19825 public override void Init() { base.Init(); if(GetString("intern.Formula.TempUpdateVal")!="590b2033d109c03de80c3089bad6543d") { SetParameterBulk("Formula.Static: Cycles=8 Julia=0 jx=0 jy=0 jz=0 Scene: CenterX=-0.00769903934544111 CenterY=0.196128027329687 CenterZ=-0.00761911088218881 Radius=1.9706075263103E-07 Transformation.Camera: AngleX=144.43333935272 AngleY=-74.8684800264154 AngleZ=34.5016274721693 IsometricProjection=1 Position=1 intern.Formula: TempUpdateVal=590b2033d109c03de80c3089bad6543d"); } } public override bool GetBool(double x,double y,double z) { double sin45=Math.Sqrt(0.5); double scale=1.81; double offsetX=1.15; double offsetY=0.932; double offsetZ=1.01; for (int n=1;n<100; n++) { x=Math.Abs(x); y=Math.Abs(y); z=Math.Abs(z); if (x*x+y*y+z*z>2000000000){ return false; } if (x<y) { double a=x; x=y; y=a; } if (x<z) { double a=x; x=z; z=a; } if (y<z) { double a=y; y=z; z=a; } x=scale*x-offsetX*(scale-1); y=scale*y-offsetY*(scale-1); z=scale*z-offsetZ*(scale-1); double xtemp=sin45 * (x-y ); y=sin45 * (y+x ); x=xtemp; } return true; } |