Directions

  • Click and drag to zoom in.
  • Click to zoom out.

Mandelbrot fractal

Each pixel is colored based on the following formula:
zn+1 = zn2 + z0

where:
z = x + iy

We iterate until zn is greater than 21/2, or n = 128.
n then decides how we color the pixel.