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

pixels = W:1024 H:1024

x = from -1.28 to 1.28 W
y = from -1.28 to 1.28 H

t = 14.19
w = sin(t+sin(t*0.8))*0.4
a = atan2(y, x)
px = x + w
py = y + w
h = length2(px, py)

cr = 0
cg = 0
cb = 0

[loop start:60
a = a + t*0.01
k = smoothstep(0.99, 1.0, sin(log(h+loop*0.05)-t-loop+sin(a)))
cr = cr*0.98 + (sin(loop+5)*0.5+0.5)*k
cg = cg*0.98 + (sin(loop+3)*0.5+0.5)*k
cb = cb*0.98 + (sin(loop+2)*0.5+0.5)*k
loop end]

r = cr*h
g = cg*h
b = cb*h
