#https://www.shadertoy.com/view/ltlGRB

pixels = W:1024 H:1024

x = from -512 to 511 W
y = from -512 to 511 H

t = 16.29

s = 12.0
ring = 16.0
radius = 1024
gap = s * 0.5
d = length2(x, y)
d = d + (sin(y * 0.25 / s + t) * sin(x * 0.25 / s+ t * 0.5)) * s * 2.0
v = mod(d + radius / (ring * 2.0), radius / ring)
v = abs(v - radius / (ring * 2.0) )
v = clamp(v - gap, 0.0, 1.0)
d = d/radius

r = fract(ring*(-0.5)*(d - 1)*0.5)*v
g = fract(-ring*(d - 1)*0.5)*v
b = fract(ring*0.25*(d - 1)*0.5)*v
