diff --git a/render.go b/render.go index acc31a7..a79905e 100644 --- a/render.go +++ b/render.go @@ -178,7 +178,7 @@ func mandelbrot(c complex128) uint16 { for i := 0; i < Iterations; i++ { z = z*z + c if cmplx.IsNaN(z) { - return uint16(i * 1024) + return uint16(i) } } return Iterations