Welcome to Fractal Forums

Fractal Software => Gestaltlupe Gallery => Topic started by: trafassel on March 09, 2017, 11:10:36 PM




Title: Corkscrew
Post by: trafassel on March 09, 2017, 11:10:36 PM
Corkscrew

(http://nocache-nocookies.digitalgott.com/gallery/20/999_09_03_17_11_10_35.jpeg)

http://www.fractalforums.com/index.php?action=gallery;sa=view;id=20128


public double bailout;
public override bool GetBool(double x,double y,double z)
{
  for (int i=1;i<_cycles;i++)
  {
    double r=x*x+y*y+z*z;
    if (r>bailout) return false;
    if (r>0)
    {
      x=-x/r;
      y=Math.Abs(y)/r;
      z=Math.Abs(z)/r;
    }
    x+=_jx;
    y+=_jy;
    z+=_jz;
  }
  return true;
}

public override void Init()
{
  base.Init();
  if(GetString("intern.Formula.TempUpdateVal")!="69a3c3868f112fb173df07a024fda4eb")
  {
    SetParameterBulk("Formula.Parameters: bailout=70 Formula.Static: Cycles=230 Julia=0 jx=-0.865 jy=-0.49 jz=-0.4 Scene: CenterX=4.06701434947879 CenterY=3.80424219436933 CenterZ=0.929360770006624 Radius=0.275493879641444 Transformation.Camera: AngleX=124.783207367295 AngleY=86.6434582405489 AngleZ=-107.949551371503 IsometricProjection=0 Position=1 intern.Formula: TempUpdateVal=69a3c3868f112fb173df07a024fda4eb");
  }
}