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

pixels = W:1024 H:1024

x = from 0 to (2*PI) W
y = from 0 to (2*PI) H

time = 10.31
c = 1
inten = 0.005

px = x + 250
py = y + 250
ix = px
iy = py

[loop start: 5
t = time * (1.0 - (3.5 / (loop+1)))
tx = px + cos(t - ix) + sin(t + iy)
iy = py + sin(t - iy) + cos(t + ix)
ix = tx
c = c + 1.0/length2(px/(sin(ix+t)/inten), py/(cos(iy+t)/inten))
loop end]

c = 1.17 - pow(c/5, 1.4)
k = pow(abs(c), 8.0)

b = k
g = k + 0.35
r = k + 0.5

