Logo by Jimpan1973 - 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: Check out the originating "3d Mandelbulb" thread here
 
*
Welcome, Guest. Please login or register. August 04, 2021, 04:10:30 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: Menger 168.10016  (Read 416 times)
0 Members and 1 Guest are viewing this topic.
trafassel
Fractal Bachius
*
Posts: 531


trafassel
« on: December 04, 2016, 08:47:16 PM »

Menger 168.10016



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



public override void Init()
{
  base.Init();
  if(GetString("intern.Formula.TempUpdateVal")!="590b2033d109c03de80c3089bad6543d")
  {
    SetParameterBulk("Formula.Static: Cycles=8 Julia=0 jx=0 jy=0 jz=0 Scene: CenterX=-0.00769903934544111 CenterY=0.196128027329687 CenterZ=-0.00761911088218881 Radius=1.9706075263103E-07 Transformation.Camera: AngleX=144.43333935272 AngleY=-74.8684800264154 AngleZ=34.5016274721693 IsometricProjection=1 Position=1 intern.Formula: TempUpdateVal=590b2033d109c03de80c3089bad6543d");
  }
}


public override bool GetBool(double x,double y,double z)
{
  double sin45=Math.Sqrt(0.5);
  double scale=1.81;
  double offsetX=1.15;
  double offsetY=0.932;
  double offsetZ=1.01;
  for (int n=1;n<100;  n++)
  {
    x=Math.Abs(x);
    y=Math.Abs(y);
    z=Math.Abs(z);
    if (x*x+y*y+z*z>2000000000){ return false; }
    if (x<y) { double a=x; x=y; y=a; }
    if (x<z) { double a=x; x=z; z=a; }
    if (y<z) { double a=y; y=z; z=a; }
    x=scale*x-offsetX*(scale-1);
    y=scale*y-offsetY*(scale-1);
    z=scale*z-offsetZ*(scale-1);
    double xtemp=sin45 * (x-y );
    y=sin45 * (y+x );
    x=xtemp;
  }
  return true;
}
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
into the menger Mandelbulb3D Gallery tomot 0 438 Last post March 09, 2011, 01:34:46 AM
by tomot
Menger Web Mandelbulb3D Gallery Weber 0 360 Last post March 15, 2012, 02:40:05 AM
by Weber
Menger Web Mandelbulb3D Gallery Weber 0 359 Last post March 16, 2012, 12:31:13 AM
by Weber
Menger Structure Synth Gallery VanlindtMarc 0 288 Last post August 02, 2013, 12:34:28 AM
by VanlindtMarc
Menger 3 Short Film Peter Wilkinson 0 721 Last post May 23, 2014, 07:28:00 PM
by Peter Wilkinson

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.127 seconds with 26 queries. (Pretty URLs adds 0.01s, 2q)