Mandelbrot set

The axes represent the real and imaginary axes, respectively. The green dot is the seed value and can be moved. The "n" value is the number of iterations of the seed value via a certain function and is shown by the red dots.
The Mandelbrot set is the complex numbers in the grey region. How is the set defined? Demo created by Robert Gutierrez, math teacher at Fresno City College