>>14152206I checked a code golf page:
https://codegolf.stackexchange.com/questions/3105/generate-a-mandelbrot-fractalHere's an example written in Python:
z=lambda x,c,n:z(x**2+c,c,n-1)if n*(abs(x)<2)else x
for y in range(-15,16):print''.join(' @'[abs(z(0,x/25.+y/15j,32))<2]for x in range(-50,26))
Here's an example written in J:
{&' *'(2:>[:|([+]*])^:32 ::_:)&0"0(j.1-16%~i.33)+/_2+32%~i.97
These don't produce any pretty pictures though. Only prints out a simple rendering with basic ascii art. You'd need to use some sort of image library and some more code to spit out something that's nice to look at. I actually suspect the rendering step would require more code than the main algorithm.