
The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!
|
|
|
||||||
Mandelbox Scale 1 Bailout 100 | ||||||
Previous Image | Next Image | ||||||
Description: public override void Init(){base.Init();if(GetString("intern.Formula.TempUpdateVal")!="69505adea16a3e54d7a4513c42643137"){SetParameterBulk("Formula.Static: Cycles=250 Julia=1 jx=0 jy=-3 jz=0 Scene: CenterX=0.522212310323645 CenterY=0.343238964548065 CenterZ=-0.472379840467224 Radius=0.323011165779693 Transformation.Camera: AngleX=-139.977463372212 AngleY=-27.8314109422144 AngleZ=-157.867817004756 IsometricProjection=0 Position=1 intern.Formula: TempUpdateVal=69505adea16a3e54d7a4513c42643137");}}public override long InSet(double x,double y,double z,double br,double bi,double bj,double bk,long zkl,bool invers){double bailout=100;long returnValue=0;double xx=x * x;double yy=y * y;double zz=z * z;double r=xx+yy+zz;additionalPointInfo.red=0;additionalPointInfo.green=0;additionalPointInfo.blue=0;for (int n=1;n < zkl;n++){if (x > 0.5){x=1.0-x;}else if (x <-0.5){x=-1.0-x;}if (y > 0.5){y=1.0-y;}else if (y <-0.5){y=-1.0-y;}if (z > 0.5){z=1.0-z;}else if (z <-0.5){z=-1.0-z;}xx=x*x;yy=y*y;zz=z*z;r=xx+yy+zz;if(r!=0){additionalPointInfo.red+=xx/r;additionalPointInfo.green+=yy/r;additionalPointInfo.blue+=zz/r;if (r > bailout ){returnValue=n;break;}if (r < 1){x/=r;y/=r;z/=r;}else {r=Math.Pow(r,0.2);x*=r;y*=r;z*=r;}}x+=br;y+=bi;z+=bj;/* if(x<0)x=-x;if(y<0)y=-y;if(z<0)z=-z;*/ }if (invers){if (returnValue==0)returnValue=1;else returnValue=0;}return returnValue;}
Stats: Total Favorities: 0 View Who Favorited Filesize: 180.17kB Height: 1200 Width: 1200 Discussion Topic: View Topic Keywords: Mandelbox Gestaltlupe Posted by: trafassel ![]() Rating: Has not been rated yet. Image Linking Codes
|
||||||
0 Members and 1 Guest are viewing this picture. | ||||||
Related Images | ||||||
|
|
Comments (0) ![]() |
Powered by SMF Gallery Pro