• July 24, 2021, 04:27:30 PM

Login with username, password and session length

 


RustOctopus' GardenRed 3
Octopus' Garden
Previous Image | Next Image
Description: Rendition of Apollonian presented here: https://www.shadertoy.com/view/llKXzh

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

control.maxSteps = 8.0
control.multiplier = 36.4
control.foam = 0.44
control.foam2 = 0.36
control.bend = 0.0167

GPU ------------------------------

float DE(float3 pos,device Control &control,thread float4 &orbitTrap) {
    float t = control.foam2 + 0.25 * cos(control.bend * PI * control.multiplier * (pos.z - pos.x));
    float scale = 1;
    float3 ot;
   
    for(int i=0; i< control.maxSteps; ++i) {
        pos = -1.0 + 2.0 * fract(0.5 * pos + 0.5);
        pos -= sign(pos) * control.foam / 20;
       
        float k = t / dot(pos,pos);
        pos *= k;
        scale *= k;
       
        ot = pos;
        orbitTrap = min(orbitTrap, float4(abs(ot), dot(ot,ot)));
    }
   
    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: 80
Total Favorities: 0 View Who Favorited
Filesize: 3.87MB
Height: 1192 Width: 2400
Keywords: stereo 
Posted by: kosalos December 09, 2020, 05:49:28 PM

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 (1)

FractalAlex
Perturbation formula helper
Fractal Frankfurter
*
Offline Offline

Posts: 597


One step closer to victory


View Profile
December 09, 2020, 08:58:50 PM
Nice! And the title is a nice musical reference to the song of the Beatles of the same name!

Return to Gallery


Powered by SMF Gallery Pro