Loading video...

Video Failed to Load

Go Home

vec3 f=vec3(.2,.4,1.5),p;for(float i,e,g,S,u;i++<50.;o+=exp(e*5e3-sin(vec4(4,3,2,0)*p.z-log(S)))/50.){p=vec3((FC.xy-.5*r)/r.y*g,g)-i/3e4;mat2 M=rotate2D(t/8.);p.yz*=M*M;p--;p.yx*=M;S=5.;for(int j;j++<20;p/=u)S/=u=dot(p=2.*clamp(p,-f,f)-p,p);g-=e=p.z/S;} #つぶやきGLSL

647,249 views • 2 years ago •via X (Twitter)

10 Comments

yonatan's profile picture
yonatan2 years ago

live version:

Paul-emmanuel's profile picture
Paul-emmanuel2 years ago

Shaders are some sort of biblically accurate programming.

Motus's profile picture
Motus2 years ago

For some reason this invokes an impending sense of doom

Mike Hibbert's profile picture
Mike Hibbert2 years ago

My mother had some curtains like this.

Curious Mind's profile picture
Curious Mind2 years ago

vec3 f = vec3(0.2, 0.4, 1.5), p; for( float i, e, g, S, u; i++ < 50.0; o += exp(e * 5e3 - sin(vec4(4, 3, 2, 0) * p.z - log(S))) / 50.0 ){ p = vec3((FC.xy - 0.5 * r) / r.y * g, g) -i / 3e4; mat2 M = rotate2D(t / 8.0); p.yz *= M*M; p--; p.yx *= M; S = 5.0; for(int j; j++ < 20; p /= u) S /= u = dot(p = (2.0 * clamp(p, -f, f) - p), p); g -= e = p.z/S; }

Adrian Bisson's profile picture
Adrian Bisson2 years ago

welcome to the peyote dimension

Matthias Hurrle's profile picture
Matthias Hurrle2 years ago

Long version with mouse/touch enabled navigation. via @CodePen

Jeffrey Emanuel's profile picture
Jeffrey Emanuel2 years ago

Reminds me of those animations of protein synthesis in the body.

Sambhav Gupta's profile picture
Sambhav Gupta2 years ago

Please tell me this is just gibberish and not an actual mathematical equation

B🜁RBELITH's profile picture
B🜁RBELITH2 years ago

You won the tweet sized shader contest!

Related Videos