Welcome to Fractal Forums

Fractal Art => Images Showcase (Rate My Fractal) => Topic started by: adelmo on April 28, 2017, 02:29:09 PM




Title: 3d mandel
Post by: adelmo on April 28, 2017, 02:29:09 PM
Hi, sorry, with my program I generated this set of high 3d mandel to the second power. What do you think? Thank you in advance


Title: Re: 3d mandel
Post by: DarkBeam on April 28, 2017, 04:33:51 PM
Good! Bravo!  :dink:
Formula used?! :beer:


Title: Re: 3d mandel
Post by: adelmo on April 28, 2017, 08:08:59 PM
Hi, I used the following formula, but since i'm not a math I have doubts about nw. I attach pictures with other angles

            case 14:
               rad = Math::Sqrt(nx*nx + ny*ny + nz*nz + nw*nw);

               powRad = Math::Pow(rad, power);
               theta = Math::Atan2(ny, nx) * power;
               phi = Math::Atan(nz / rad) * power;
               nx = powRad * Math::Cos(theta) * Math::Cos(phi);
               ny = powRad * Math::Sin(theta) * Math::Cos(phi);
               nz = powRad * Math::Sin(phi) * inverse_azimuth;
               nw = powRad * Math::Sin(phi) * inverse_azimuth;
               break;

            default:
               break;
            }

            if(julia)
            {
               nx += creal_i;
               ny += cimag_j;
               nz += k;
               nw += l;
            }
            else
            {
               nx += x;
               ny += y;
               nz += z;
            }


Title: Re: 3d mandel
Post by: adelmo on May 01, 2017, 09:39:19 AM
This is the corresponding collection of julia


Title: Re: 3d mandel
Post by: adelmo on May 05, 2017, 07:41:51 PM
A screen of my program


Title: Re: 3d mandel
Post by: adelmo on May 08, 2017, 09:28:10 PM
Julia set with k and l values ​​automatically calculated


Title: Re: 3d mandel
Post by: Alef on May 09, 2017, 04:14:58 PM
It's good but this one looks more like 3D http://www.fractalforums.com/the-3d-mandelbulb/true-3d-mandelbrot/ (http://www.fractalforums.com/the-3d-mandelbulb/true-3d-mandelbrot/)

Your in zoom probably will reveal mandelbrotesque features, but there is nothing on its top.


Title: Re: 3d mandel
Post by: adelmo on May 09, 2017, 07:28:11 PM

Thank you Alef, thanks to all of you, it is a great satisfaction for me


Title: Re: 3d mandel
Post by: adelmo on May 14, 2017, 08:28:23 AM
I replied with the OpenTK


Title: Re: 3d mandel
Post by: adelmo on May 16, 2017, 09:38:37 PM
Hello, I replied with Mandlbulb3Dv191.
Formula used:

procedure MyFormula(var x, y, z, w: Double; PIteration3D: TPIteration3D);
var
   sq_r: double;
   sq_xz: double;
   r, theta, zangle: double;
begin
   sq_r := sqrt(x*x+y*y+z*z);
   sq_xz := sqrt(x*x+z*z);
   r:= power(sq_r, Power_);

   theta := arctan2(y , x) * Power_;
   zangle := arctan2(z, sq_r) * Power_;

   x := cos(zangle) * cos(theta)  * r + PIteration3D^.J1;
   y := sin(theta)  * cos(zangle) * r + PIteration3D^.J2;
   z := sin(zangle) * r * inverse     + PIteration3D^.J3;
end;


Title: Re: 3d mandel
Post by: adelmo on May 16, 2017, 09:42:53 PM
Mandel:
     inverse = 1

Julia:
     inverse = -1


Title: Re: 3d mandel
Post by: adelmo on May 26, 2017, 07:45:48 PM
To the third power


Title: Re: 3d mandel
Post by: adelmo on May 29, 2017, 08:42:28 PM
Elevated to the power of 4 and top view


Title: Re: 3d mandel
Post by: adelmo on May 30, 2017, 07:03:05 AM
Power 5 and left view


Title: Re: 3d mandel
Post by: adelmo on May 31, 2017, 08:28:12 PM
Power 8 Julia


Title: Re: 3d mandel
Post by: adelmo on June 18, 2017, 10:21:39 PM
Top View


Title: Re: 3d mandel
Post by: adelmo on June 24, 2017, 09:28:33 AM
Mandelbulb3Dv191 has detected more details. Thank you


Title: Re: 3d mandel
Post by: adelmo on July 01, 2017, 11:38:12 PM
Julia 3d / 2d comparison


Title: Re: 3d mandel
Post by: adelmo on July 01, 2017, 11:41:30 PM
Julia values ​​used


Title: Re: 3d mandel
Post by: adelmo on July 04, 2017, 08:28:51 PM
Julia 3d / 2d comparison


Title: Re: 3d mandel
Post by: Gerson on July 05, 2017, 02:16:38 PM
It reminds me Quat software. Is it similar?


Title: Re: 3d mandel
Post by: adelmo on August 16, 2017, 09:31:40 PM
I really can not answer your question, but the comparison can do the same to you.

My program works like this:

The main class is called Fractals where there are all functions for 2d / 3d calculation
and is derived from AllParam where there are all variables, arrays, Bitmaps etc. used in the program.
In a function I populated a class Fractals instance with values coming from other structures.
The main feature is that each FormChild is a key / value dictionary, or, to put it better,
each FormChild has a key / value dictionary associated.
The key is the child name (childName), the value is an instance of the Fractals class (fractals).
Once calculated, the image is stored in the bitmapBase variable contained in AllParam.
So once you've created the image, you do not have to recalculate it.
FormChilds can be closed, resized, moved, etc., but nothing is lost.
In the History menu on the right, just double click to reload the parameters and then
click on the Draw button, where there is a dedicated if statement, to reload the image in memory.
For each Form I have created a structure with default values.
Structures are instantiated in associated forms, and parameter changes in forms,
they actually change the values of the associated structure.
Each time a FormChild is activated, a delegated function is called,
which will update all the parameters. Other than that.

As far as the program is concerned, I manage it and do it for hobby and entertainment,
and I honestly never thought of publishing it, also because I have to review and add different
functionality (parallelization, testing, etc.).

Thank you


Title: Re: 3d mandel
Post by: adelmo on September 06, 2017, 09:49:21 PM
With the following formula we get the following images. Respectively power = 2 and power = 4

powRad = Math::Pow(rad, power);
theta = Math::Atan2(ny, nx) * power;
phi = Math::Atan2(nz, rad) * power;
nx = powRad * (2.0 / (Math::Exp(phi) + Math::Exp(-phi))) * Math::Cos(theta); //Sech(phi)
ny = powRad * (2.0 / (Math::Exp(phi) + Math::Exp(-phi))) * Math::Sin(theta);
nz = powRad * Math::Tanh(phi) * inverse_azimuth;
nw = powRad * Math::Tanh(phi) * inverse_azimuth;


Title: Re: 3d mandel
Post by: adelmo on September 09, 2017, 02:10:45 AM
Self similarity, power = 2

              Minimum                      Maximum
X  -0,179966626034698     -0,136156134732695
Y  -1,06056022828191       -0,995683067492954


Title: Re: 3d mandel
Post by: adelmo on September 09, 2017, 01:17:44 PM
Julia, X axis rotation: degrees = 35, power = 2


Title: Re: 3d mandel
Post by: Fluoroantimonic Acid on September 09, 2017, 06:05:34 PM
Wow, looks great!


Title: Re: 3d mandel
Post by: adelmo on September 09, 2017, 07:29:17 PM
Thank you, thank you so much


Title: Re: 3d mandel
Post by: adelmo on September 10, 2017, 10:44:19 AM
Julia, power = 2


Title: Re: 3d mandel
Post by: adelmo on September 10, 2017, 10:45:52 AM
Julia, power = 2


Title: Re: 3d mandel
Post by: adelmo on October 07, 2017, 06:49:04 AM
five


Title: Re: 3d mandel
Post by: adelmo on October 12, 2017, 09:13:42 PM
Comparison. No zoom, the coordinates are identical


Title: Re: 3d mandel
Post by: adelmo on November 06, 2017, 06:11:06 PM
            if(julia)
            {
               nx += creal_i;
               ny += cimag_j;
               nz += k;
               nw += l;
               nm += m;
            }
            else
            {
               nx += x + x;
               ny += y + y;
               nz += z + z;
            }


Title: Re: 3d mandel
Post by: Gerson on November 07, 2017, 12:35:03 PM
Do you need to insert the formula inside the software code or it has a function to run it?


Title: Re: 3d mandel
Post by: adelmo on November 19, 2017, 09:12:48 PM
Yes, what you see is extracted from a function

Thank you


Title: Re: 3d mandel
Post by: adelmo on December 14, 2017, 10:04:51 PM
six


Title: Re: 3d mandel
Post by: adelmo on December 14, 2017, 10:27:53 PM
six, Julia black marker


Title: Re: 3d mandel
Post by: adelmo on December 14, 2017, 10:29:24 PM
six, Julia darkred marker