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

pixels = W:1024 H:1024

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

cx = 0.71
cy = 0.125
k = 6

r = length2(x, y)
phi = k*atan2(y, x)
x = pow(r, k) * cos(phi) + cx
y = pow(r, k) * sin(phi) + cy

r = length2(x, y)
phi = k*atan2(y, x)
x = pow(r, k) * cos(phi) + cx
y = pow(r, k) * sin(phi) + cy

r = length2(x, y)
phi = k*atan2(y, x)
x = pow(r, k) * cos(phi) + cx
y = pow(r, k) * sin(phi) + cy

r = length2(x, y)
phi = k*atan2(y, x)
x = pow(r, k) * cos(phi) + cx
y = pow(r, k) * sin(phi) + cy

r = length2(x, y)
phi = k*atan2(y, x)
x = pow(r, k) * cos(phi) + cx
y = pow(r, k) * sin(phi) + cy

r = length2(x, y)
phi = k*atan2(y, x)
x = pow(r, k) * cos(phi) + cx
y = pow(r, k) * sin(phi) + cy

r = length2(x, y)
phi = k*atan2(y, x)
x = pow(r, k) * cos(phi) + cx
y = pow(r, k) * sin(phi) + cy

r = length2(x, y)
phi = k*atan2(y, x)
x = pow(r, k) * cos(phi) + cx
y = pow(r, k) * sin(phi) + cy

r = length2(x, y)
phi = k*atan2(y, x)
x = pow(r, k) * cos(phi) + cx
y = pow(r, k) * sin(phi) + cy

r = length2(x, y)
phi = k*atan2(y, x)
x = pow(r, k) * cos(phi) + cx
y = pow(r, k) * sin(phi) + cy

r = length2(x, y)
phi = k*atan2(y, x)
x = pow(r, k) * cos(phi) + cx
y = pow(r, k) * sin(phi) + cy

r = length2(x, y)
phi = k*atan2(y, x)
x = pow(r, k) * cos(phi) + cx
y = pow(r, k) * sin(phi) + cy

r = length2(x, y)
phi = k*atan2(y, x)
x = pow(r, k) * cos(phi) + cx
y = pow(r, k) * sin(phi) + cy

r = length2(x, y)
phi = k*atan2(y, x)
x = pow(r, k) * cos(phi) + cx
y = pow(r, k) * sin(phi) + cy

r = length2(x, y)
o = if(r < 4.0, 1.0, 0.0)

r = o
g = o
b = o
