• May 18, 2021, 04:51:34 PM

Login with username, password and session length

 


Thorn in my side, a MandelNest variationWhipped EggSalad Spinner
Whipped Egg
Previous Image | Next Image
Description: Rendition of MandelNest  ^-^

control.isteps = 20
control.cx = 3.000
control.fx = 2.700
control.bcx = false
control.juliaboxMode = true
control.julia = float3(0.264, 0.350, -0.090)

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: 31
Total Favorities: 0 View Who Favorited
Filesize: 4.29MB
Height: 1142 Width: 2554
Keywords: stereo 
Posted by: kosalos May 02, 2021, 06:39:35 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 (1)

Caleidoscope
Moderator
*
Offline Offline

Posts: 859



View Profile WWW
May 03, 2021, 05:40:09 PM
I like the Mono-version the best ;)   :confused2:    
It is very beautiful and fascinating!  :clapping: :clapping:

Return to Gallery


Powered by SMF Gallery Pro