Fractals based on Mandelbrot

Discussion in 'JavaScript' started by sterlingalston, Mar 28, 2009.

  1. #1
    To whom it may concern:

    I am trying to figure out how to create a fractal patter for a Mandelbrot set of numbers using a recursive algorithm.

    The assignment says that I must create and escape time algorithm by treating the screen as a graph, stretching from x=-2 to 2 and for y respectively. This determines whether the pixel on the screen belongs to the Mandelbrot set.

    I do not know where to start for this, but so far I have defined all variables I need (x,y,x0,y0,XSIZE, and YSIZE). I have tried a couple functions for the escape pattern, but none of them work. I have more details about the assignment if anyone is interested.

    Thanks.
     
    sterlingalston, Mar 28, 2009 IP