News: Check out the originating "3d Mandelbulb" thread here

## The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!

 Pages: [1]   Go Down
 Author Topic: Corkscrew  (Read 933 times) Description: 0 Members and 1 Guest are viewing this topic.
trafassel
Fractal Bachius

Posts: 531

 « on: March 09, 2017, 11:10:36 PM »

Corkscrew

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");
}
}
 Logged
 Pages: [1]   Go Down