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

pixels = W:1024 H:1024

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

t = 13.456
ts = sin(t)
tc = cos(t)

u = x*tc-y*ts
v = y*tc+x*ts
u = abs(u) - 1.0
v = abs(v) - 1.0
k = length2(u,v)
u = u*k
v = v*k
x = u
y = v

u = x*tc-y*ts
v = y*tc+x*ts
u = abs(u) - 1.0
v = abs(v) - 1.0
k = length2(u,v)
u = u*k
v = v*k
x = u
y = v

u = x*tc-y*ts
v = y*tc+x*ts
u = abs(u) - 1.0
v = abs(v) - 1.0
k = length2(u,v)
u = u*k
v = v*k
x = u
y = v

u = x*tc-y*ts
v = y*tc+x*ts
u = abs(u) - 1.0
v = abs(v) - 1.0
k = length2(u,v)
u = u*k
v = v*k
x = u
y = v

u = x*tc-y*ts
v = y*tc+x*ts
u = abs(u) - 1.0
v = abs(v) - 1.0
k = length2(u,v)
u = u*k
v = v*k
x = u
y = v

u = x*tc-y*ts
v = y*tc+x*ts
u = abs(u) - 1.0
v = abs(v) - 1.0
k = length2(u,v)
u = u*k
v = v*k
x = u
y = v

u = x*tc-y*ts
v = y*tc+x*ts
u = abs(u) - 1.0
v = abs(v) - 1.0
k = length2(u,v)
u = u*k
v = v*k
x = u
y = v

u = x*tc-y*ts
v = y*tc+x*ts
u = abs(u) - 1.0
v = abs(v) - 1.0
k = length2(u,v)
u = u*k
v = v*k
x = u
y = v

u = x*tc-y*ts
v = y*tc+x*ts
u = abs(u) - 1.0
v = abs(v) - 1.0
k = length2(u,v)
u = u*k
v = v*k
x = u
y = v

u = x*tc-y*ts
v = y*tc+x*ts
u = abs(u) - 1.0
v = abs(v) - 1.0
k = length2(u,v)
u = u*k
v = v*k
x = u
y = v

o = length2(u, v)

r = o
g = o
b = o
