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

pixels = W:1024 H:1024

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

d = 1.0
s = 1.0

x = abs(x - s)
y = abs(y - s)
s = s*0.5
c = length2(x, y) - s
d = min(d, c)

x = abs(x - s)
y = abs(y - s)
s = s*0.5
c = length2(x, y) - s
d = min(d, c)

x = abs(x - s)
y = abs(y - s)
s = s*0.5
c = length2(x, y) - s
d = min(d, c)

x = abs(x - s)
y = abs(y - s)
s = s*0.5
c = length2(x, y) - s
d = min(d, c)

x = abs(x - s)
y = abs(y - s)
s = s*0.5
c = length2(x, y) - s
d = min(d, c)

x = abs(x - s)
y = abs(y - s)
s = s*0.5
c = length2(x, y) - s
d = min(d, c)

x = abs(x - s)
y = abs(y - s)
s = s*0.5
c = length2(x, y) - s
d = min(d, c)

o = 1.0 - step(d, 0.0) - d

r = o
g = o
b = o
