Have a good sleep tonight 🌀💤👁️‍🗨️

How to reproduce this video? GO TO PASTE THE FOLOWING CODE (REPLACE LESSTHAN WITH < ) vec3 palette( float t ) { vec3 a = vec3(, , ); vec3 b = vec3(, , ); vec3 c = vec3(, , ); vec3 d = vec3(, , ); return a b*cos( *(c*t d) ); } void mainImage( out vec4 fragColor, in vec2 fragCoord ) { vec2 uv = (fragCoord * 2.0 - ) / iResolution.y; vec2 uv0 = uv; vec3 finalColor = vec3(0.0); for (float i = 0.0; i LESSTHAN 7.0; i ) { uv = fract(uv * ) - 0.5; float d = length(uv) * exp(-length(uv0)); vec3 col = palette(length(uv0) i*.3 iTime*.7); d = sin(d*8. iTime*.8)/8.; d = abs(d); d = pow( / d, 1.2); finalColor = col * d; } fragColor = vec4(finalColor, 1.); }
Back to Top