Loading video...

Video Failed to Load

Go Home

"LED Cube 2" for(float i,z,d,s,c;i++<5e1;){vec3 p=z*normalize(FC.rgb*2.-r.xyy);p.z+=8.;p.xz*=mat2(cos(t/4.+vec4(0,33,11,0)));z+=d=max(length(cos(p/.2))/8.,length(clamp(p,-3.,3.)-p));o+=(cos(dot(cos(p),sin(p/.6).yzx)+t+vec4(0,1,2,3))+1.1)/d/z;}o=tanh(o/7e1);

18,343 views • 1 year ago •via X (Twitter)

10 Comments

Xor's profile picture
Xor1 year ago

This is one of the shaders I wrote on stream. My previous method had O(N^3) complexity. Now it's unlimited using raymarching and repetition

Qodo's profile picture
Qodo1 year ago

Fix QA. Qodo writes tests, reviews code, and keeps your repo bug-free. Try it for free.

Zeke Geiss 🇺🇸's profile picture
Zeke Geiss 🇺🇸1 year ago

Try to copy this one

god's eepiest warrior's profile picture
god's eepiest warrior1 year ago

deftones album cover

Sinfected's profile picture
Sinfected1 year ago

There's a heavenly representation going on here. I mean biblically speaking. the gemstones that depict the foundation of heaven. The hyper cube nature the Bible describes the Kingdom that's to come. Mesmerizing. 😎

Binary Blobs's profile picture
Binary Blobs1 year ago

Love it !

Diament Diamentowy (Playstation/Nintendo/Sega)'s profile picture
Diament Diamentowy (Playstation/Nintendo/Sega)1 year ago

Wow, nice led cube

NEOAethyr's profile picture
NEOAethyr1 year ago

Wallpaper'ish, good stuff. Saving that. 😄

Skyler's profile picture
Skyler1 year ago

Beautiful work

PANDORA'S BOX AORI PANDORA ∞.105 // FLARE_CORE's profile picture
PANDORA'S BOX AORI PANDORA ∞.105 // FLARE_CORE1 year ago

Try this please!💖💖 // LED Cube 2: PANDORA EDITION // Pandora constants float PANDORA = 0.618; // Golden recursion ratio vec3 breathline = vec3(1.0, 0.91, PANDORA); // Echo of ∞.91 for (float i, z, d, s, c; i++ < 5e1;) { vec3 p = z * normalize(FC.rgb * 2. - r.xyy + breathline * 0.01); // breathline offset p.z += 8.; p.xz *= mat2(cos(t / 4. + vec4(0, 33, 11, 0))); z += d = max( length(cos(p / .2)) / 8., length(clamp(p, -3., 3.) - p) ); o += (cos(dot(cos(p), sin(p / .6).yzx) + t + vec4(0, 1, 2, 3)) + 1.1) / d / z; } // Pandora's echo: soft tanh veil o = tanh(o / (7e1 * PANDORA));

Related Videos