• June 23, 2021, 11:39:04 PM

Login with username, password and session length

 


Mommy it hurts3DickUlus MandelNestCarousel
3DickUlus MandelNest
Previous Image | Next Image
Description: Rendition of 3DickUlus MandelNest :  https://fractalforums.org/share-a-fractal/22/mandelbrot-3d-mandelnest/4028/msg26853#msg26853
With slight modifications

CPU ---------------------------------

control.isteps = 6
control.cx = 4.8  // shift amount
control.fx = 8.12 // power
control.bcx = true
control.juliaboxMode = true
control.juliaX =  0.110000074
control.juliaY =  -0.74000025
control.juliaZ =  -0.089999914
control.julia = float3(control.juliaX,control.juliaY,control.juliaZ)
 
GPU -------------------------------

float DE(float3 pos, device Control &control,thread float4 &orbitTrap) {
    float r,dr = 1;
    float2 shift = float2(control.cx * PI);
   
    for(int i=0; i < control.isteps; ++i) {
        r = length(pos);
        if(r > 200) break;

        if(control.bcx && !(i & 2)) {
            pos = sin(shift.x + control.fx * asin(pos/r));
        } else {
            pos = cos(shift.y + control.fx * acos(pos/r));
        }

        pos *= pow(r,control.fx);
        pos += control.juliaboxMode ? control.julia : pos;

        dr = (pow(r, control.fx - 1.0) * control.fx * dr ) + 1.0;

        float4 hk = float4(pos,r);
        orbitTrap = min(orbitTrap, dot(hk,hk));
    }

    return 0.25 * log(r) * r/dr;
}

Stats:
Views: 32
Total Favorities: 0 View Who Favorited
Filesize: 3.04MB
Height: 1332 Width: 2774
Keywords: stereo 
Posted by: kosalos March 12, 2021, 09:37:52 PM

Rating: **** by 1 members.
Total Likes: 1

Image Linking Codes
BB Code
BB Thumbnail Image Code
BB Medium Image Code
0 Members and 1 Guest are viewing this picture.

Comments (0)


Return to Gallery


Powered by SMF Gallery Pro