The fractal is based on iterations of the following fractal formula znew = cos(c zold), where the Julia Constant c is equal to −0.364444444444444+0.995555555555556i. To produce the image, you need to start with a complex value of z and iterate it many times using the formula above. The color is chosen based on how close the iteration results are to the border of the unit circle.