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

pixels = W:1024 H:1024

u = from -1.6 to 1.6 W
v = from -1.6 to 1.6 H

zx = u
zy = v
cx = -1.0
cy = 0.0
o = 0.001
w = 0.1

zt = zx * zx - zy * zy + cx
zy = 2.0*zx * zy + cy	
zx = zt
k = w
c = if((zx * zx + zy * zy) > 8.0, k, 0)
o = if(o > 0.01, o, c)

zt = zx * zx - zy * zy + cx
zy = 2.0*zx * zy + cy	
zx = zt
k = k + w
c = if((zx * zx + zy * zy) > 8.0, k, 0)
o = if(o > 0.01, o, c)

zt = zx * zx - zy * zy + cx
zy = 2.0*zx * zy + cy	
zx = zt
k = k + w
c = if((zx * zx + zy * zy) > 8.0, k, 0)
o = if(o > 0.01, o, c)

zt = zx * zx - zy * zy + cx
zy = 2.0*zx * zy + cy	
zx = zt
k = k + w
c = if((zx * zx + zy * zy) > 8.0, k, 0)
o = if(o > 0.01, o, c)

zt = zx * zx - zy * zy + cx
zy = 2.0*zx * zy + cy	
zx = zt
k = k + w
c = if((zx * zx + zy * zy) > 8.0, k, 0)
o = if(o > 0.01, o, c)

zt = zx * zx - zy * zy + cx
zy = 2.0*zx * zy + cy	
zx = zt
k = k + w
c = if((zx * zx + zy * zy) > 8.0, k, 0)
o = if(o > 0.01, o, c)

zt = zx * zx - zy * zy + cx
zy = 2.0*zx * zy + cy	
zx = zt
k = k + w
c = if((zx * zx + zy * zy) > 8.0, k, 0)
o = if(o > 0.01, o, c)

zt = zx * zx - zy * zy + cx
zy = 2.0*zx * zy + cy	
zx = zt
k = k + w
c = if((zx * zx + zy * zy) > 8.0, k, 0)
o = if(o > 0.01, o, c)

zt = zx * zx - zy * zy + cx
zy = 2.0*zx * zy + cy	
zx = zt
k = k + w
c = if((zx * zx + zy * zy) > 8.0, k, 0)
o = if(o > 0.01, o, c)

zt = zx * zx - zy * zy + cx
zy = 2.0*zx * zy + cy	
zx = zt
k = k + w
c = if((zx * zx + zy * zy) > 8.0, k, 0)
o = if(o > 0.01, o, c)

r = o*o*o
g = o*o
b = o
