Logo by reallybigname - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Visit us on facebook
 
*
Welcome, Guest. Please login or register. April 18, 2024, 03:34:22 AM


Login with username, password and session length


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


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Mandelbox Scale 1 Bailout 100  (Read 2719 times)
0 Members and 3 Guests are viewing this topic.
trafassel
Fractal Bachius
*
Posts: 531


trafassel
« on: September 14, 2016, 08:02:14 PM »

Mandelbox Scale 1 Bailout 100



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

 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;}
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
scale -1.5 mandelbox mimicking other fractals 3D Fractal Generation « 1 2 3 » Tglad 32 21482 Last post April 28, 2010, 01:34:33 AM
by trafassel
Mandelbox with very low scale values 3D Fractal Generation Teraflop 0 1929 Last post November 06, 2010, 06:15:36 PM
by Teraflop
Mandelbox with scale=1.04 and minScale=0 3D Fractal Generation trafassel 14 5504 Last post May 09, 2011, 12:57:13 PM
by trafassel
Is there a formula for M3d simular to mandelbulber's mandelbox vary scale 4d? Mandelbulb 3d wolfwing1 3 4821 Last post August 03, 2011, 09:36:34 AM
by taurus
Tutorials #3.5 SpinOff 3 - Iteration Visualisation of Mandelbox Scale 2 chaosTube - Tutorials cKleinhuis 0 3469 Last post April 29, 2013, 12:36:38 PM
by cKleinhuis

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.114 seconds with 26 queries. (Pretty URLs adds 0.006s, 2q)