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

pixels = W:1024 H:1024

y = from -0.8 to 0.8 W
x = from -2.5 to -0.5 H

t = 5.0

px = abs(x*2)
py = abs(y*2)
pz = px
abx = 2 - px
aby = abx
sxcy = sin(x)*cos(y)

[loop start:16
h = cos(length2(px, py))
abx = abx + px + h
aby = aby + py + h
py = py + sin(abx - pz - 0.5*t) * 0.5
px = px + sin(aby + t) * 0.5
pt = px+py
px = (px - pt)*sxcy
py = (py - pt)*sxcy
pz = (pz - pt)*sxcy
abx = abx + py
aby = aby + py
loop end]

k = (px+px+py)/10

r = k
g = k
b = k
