This is a very basic implementation of a Julia Set Fractal Generator. All of the variables are coded in, so feel free to change them to experiment with different results. I give an explanation of Complex Numbers and the Complex Plane, but you should look it up for your self, as I only go a little but into detail.
There are other formulas that you can use inplace of f(z+1) = z^2 + c, and some of them give pretty cool results. Have fun =)