Take your constant and calculate z_1 Then find the size (magnitude) of z_1. If it's less than 2, then your square is black, else your square is white (outside Mandelbrot set). Processing code found here.