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

pixels = W:1024 H:1024

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

t = 2.55
a = mod(t, 2*PI)
n = 1.5 + 0.5 * cos(9.0 * t)
i = 2.0

[loop start:16
w = x*cos(a) - y*sin(a)
y = x*sin(a) + y*cos(a)
x = w
fx = abs(-0.5 + fract(x*i)) / i
fy = abs(-0.5 + fract(y*i)) / i
n = n - fx - fy
i = i*1.23
loop end]

n = smoothstep(0.2, 1.0, 1.0-n)

r = n
g = n
b = n
