Alberta Future Art Collective
Digital Art: “LDS 199” Shader Coding Visual Art
Preview Thumbnail
Digital Art: “LDS 199” Shader Coding Visual Art
  • February 2, 2025 12:33 am
  • Digital Art

I was playing with algorithms today, and stumbled upon this beauty.

This visual art was coded using GLSL language and KodeLife compiler software.

I am sharing the code just in case you want to replicate:

vec2 uv = gl_FragCoord.xy / resolution; uv = uv * 2.0 – 1.0; uv.x *= resolution.x / resolution.y; vec2 center = vec2(0.0); float dist = length(uv – center); float angle = atan(uv.y, uv.x); float wave1 = sin(1.0 * dist + time * 1.0 + angle * 1.0); float wave2 = cos(41.0 * dist + time * 1.5 – angle * 1.0); float wave3 = sin(8.0 * dist + time * 1.5 + angle * 18.0); float fragmentation = wave1 + wave2 + wave3; vec3 color = vec3( 0.7 + 0.3 * sin(dist * 1.0 + fragmentation), 0.5 + 0.5 * cos(dist * 1.0 – fragmentation), 0.4 + 0.6 * sin(dist * 1.0 + fragmentation * 1.2) ); color *= smoothstep(0.0000000009, 0.1, dist) * abs(fragmentation); fragColor = vec4(color, 1.0);}

 

Overview