• July 24, 2021, 05:21:03 PM

### Author Topic:  Mandelbrot Feigenbaum  (Read 397 times)

0 Members and 1 Guest are viewing this topic.

#### trafassel

• Fractal Phenom
• Posts: 45
##### Mandelbrot Feigenbaum
« on: December 14, 2019, 04:22:02 PM »
This code is far from a optimal implementation to draw a Feigenbaum Diagram for a one dimensional Mandelbrot Set, but this works in my renderer (Gestaltlupe) an can easily be used to extend in the 3D space.

Code: [Select]
public override void Init(){  base.Init();  if(GetString("intern.Formula.TempUpdateVal")!="d2417dfa49d0913c3816fb4199d079dd")  {    SetParameterBulk("Formula.Parameters: bailout=1E+200 is2d=0 redmax=4.5 scaley=3.1 voxelsize=0.001 Formula.Static: Cycles=1365 Julia=0 jx=0 jy=0 jz=0 Scene: CenterX=-1.61853777777782 CenterY=-0.191357777777785 CenterZ=-2.87922837698476E-17 Radius=1 Transformation.Camera: AngleX=90 AngleY=0 AngleZ=0 IsometricProjection=1 Position=1 intern.Formula: TempUpdateVal=d2417dfa49d0913c3816fb4199d079dd");  }}public double bailout;public bool is2d;public double voxelsize;public double redmax;public double scaley;System.Random _rand=new Random();public override bool GetBool(double x,double y,double z){  y*=scaley;  x+=voxelsize*_rand.NextDouble();  double jx,jy,jz;  if (_isJulia)  {    jx=_jx;    jy=_jy;    jz=_jz;  }  else  {    jx=x;    jy=y;    jz=z;    x=_jx;    y=_jy;    z=_jz;  }  double minvy=jy-voxelsize;  double maxvy=jy+voxelsize;  for (int n=1;n < _cycles;  n++)  {    x=x*x+jx;    if(minvy<x &&maxvy>x)Red++;    if(Red>redmax)return false;  }  return true;}

#### trafassel

• Fractal Phenom
• Posts: 45
##### Re: Mandelbrot Feigenbaum
« Reply #1 on: December 14, 2019, 09:47:48 PM »
I switch y with z in the formula above and replace the one dimensional mandelbrot formula with the 2d formula and rotate by 45°.

### Similar Topics

###### m-streching-feigenbaum from mandelbrot-graphics library by Claude

Started by Adam Majewski on Programming

3 Replies
381 Views
October 17, 2019, 07:13:50 PM
###### feigenbaum stretch

Started by claude on Fractal Image Gallery

6 Replies
709 Views
October 17, 2019, 07:12:19 PM
###### Mandelbrot Burning Ship Mandelbrot Mandelbrot hybrid 3

Started by claude on Fractal Image Gallery

0 Replies
595 Views
January 17, 2018, 12:26:38 AM
by claude
###### Mandelbrot Burning Ship Mandelbrot Mandelbrot hybrid

Started by claude on Fractal Image Gallery

0 Replies
567 Views
January 16, 2018, 11:30:30 PM
by claude
###### Mandelbrot Burning Ship Mandelbrot Mandelbrot hybrid 2

Started by claude on Fractal Image Gallery

0 Replies
490 Views
January 17, 2018, 12:10:56 AM
by claude