• May 12, 2021, 01:31:34 PM

Login with username, password and session length

 


Cave DwellerMetal eggshellsThe Furnace
Metal eggshells
Previous Image | Next Image
Description: Contorted Apollonian

CPU ----------------------------------------------
 
control.isteps = 10
control.cx = 13.983985
control.cy = 0.9019446
control.cz = 0.7613787
control.cw = 0.013529977
control.dx = 0.75609756
control.dy = 0.8199773
control.dz = -2.8860364
control.fx = 0.63100004
 
GPU ----------------------------------------

float DE(float3 pos, thread Control &control) {
    float t = control.cz + 0.25 * cos(control.cw * PI * control.cx * (pos.z - pos.x));
    float k,hk,scale = 1;

    for(int i=0; i< control.isteps; ++i) {
        pos = -control.dz/2 + control.dz * fract(pos/control.dz + control.dz);
        pos -= sign(pos) * control.cy / control.dy;
       
        hk = dot(pos,pos);
        if(hk < control.fx) hk *= control.dx;

        k = t / hk;
        pos *= k;
        scale *= k;
    }

    float d1 = sqrt( min( min( dot(pos.xy,pos.xy), dot(pos.yz,pos.yz) ), dot(pos.zx,pos.zx) ) ) - 0.02;
    float dmi = min(d1,abs(pos.y));
    return 0.5 * dmi / scale;
}

Stats:
Views: 38
Total Favorities: 0 View Who Favorited
Filesize: 4.56MB
Height: 1492 Width: 1800
Keywords: Apollonian 
Posted by: kosalos March 04, 2021, 06:52:22 AM

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

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