### 3D Julia

• 0 Replies
• 105 Views

0 Members and 1 Guest are viewing this topic.

#### trafassel #### 3D Julia

« on: August 22, 2018, 07:13:30 PM »
3D Julia https://fractalforums.org/index.php?action=gallery;sa=view;id=1254

public override void Init(){base.Init();if(GetString("intern.Formula.TempUpdateVal")!="951035113eca0a22d9400710242dc6cb"){SetParameterBulk("Formula.Parameters: maxi=11 minr=0.02 scale1=1.42 scale2=0.261 scale3=0.4 Formula.Static: Cycles=275 Julia=1 jx=0.29523 jy=-0.458 jz=0 Scene: CenterX=0.127028111147995 CenterY=0.705411148910655 CenterZ=0.472925520389537 Radius=1.248724812 Transformation.Camera: AngleX=36.5992353759778 AngleY=-20.7884959664081 AngleZ=-3.48622456684017 IsometricProjection=0 Position=1 intern.Formula: TempUpdateVal=951035113eca0a22d9400710242dc6cb");}}public double minr=0.05;public int maxi=17;public double scale1=2;public double scale2=0.5;public double scale3=0.5;public override bool GetBool(double x,double y,double z){Red=0;Green=0;Blue=0;for (int i=1;i<_cycles;i++){double xx=x*x;double yy=y*y;double zz=z*z;double r=xx+yy+scale3*zz;if (r>6)return false;if (r<minr && i>maxi)return colors(x,y,z);y=2*x*y+_jy;x=xx-yy+_jx;z=scale1*z*Math.Pow(r,scale2)+_jz;}return colors(x,y,z);}bool colors(double x,double y,double z){double newcount=1*_cycles;for (int i=1;i<newcount;i++){double xx=x*x;double yy=y*y;double zz=z*z;double r=xx+yy;if (r>6){Blue=((double)i)/newcount;Red=1-Blue;Green=0.1;return true;}y=2*x*y+_jy;x=xx-yy+_jx;}return true;}

### Similar Topics ###### Julia set

Started by Adam Majewski on Programming

13 Replies
654 Views January 23, 2019, 09:25:53 AM
by claude ###### A Julia set

Started by Matplotlib on Other

13 Replies
504 Views March 03, 2018, 06:09:26 AM
by SCORPION ###### Julia Traps

Started by utak3r on Fractal Image Gallery

0 Replies
131 Views March 06, 2018, 01:25:19 PM
by utak3r ###### Spiral Julia set in 3-D

Started by msltoe on Fractal Image Gallery

0 Replies
102 Views October 14, 2018, 07:08:15 AM
by msltoe ###### Julia In Motion

Started by utak3r on Fractal movie gallery

5 Replies
306 Views February 19, 2018, 01:56:11 AM
by utak3r