Part 0:  preparation  

  • Do all of the loop and function exercises.

  • Copy the following files from /u/cs126/files/mandel/ to an empty directory. You may do this with the following commands:
    mkdir mandel                        # make a new directory
    chmod 700 mandel                    # set directory permissions
    cd mandel                           # move to that directory
    cp /u/cs126/files/mandel/* .        # copy all files to current directory
    

  • Part 1:   Mandelbrot function

  • #

    0

    1

    2

    3

    4

    5

    6

     r 

     0.125000

    -0.421875

    -0.575928

     0.455010

    -0.303564

    -1.959975

     3.945239

    s

     0.750000

     0.937500

    -0.041016

     0.797244

     1.475509

    -0.145822

     1.321613


  • Part 2:   Gray-scale image


    Part 3:  Color image

    In this part, you will create a glorious color image of the Mandelbrot set.



    Kevin Wayne