Homework 1

Short Description:

Write a program that will produce a fractal in svg.

This assignment is worth 25 points.

Goals

When you finish this homework, you should

Formal Description

Write a program which will produce a fractal which can be formed by replacing lines in an existing figure with a pre-defined pattern. The dragon curve is one of many different examples such a fractal. Many are pictured on this page. Please do not use the Sierpinski triangle, as we will use this in the next chapter.

I would stick with 2-D figures for now. In the future we will be able to produce three dimensional objects, which we can then translate.

Discussion

Required Files

Your code, a Makefile, and a README file.

The README file should contain personal information (your name, email, ...) as well as a description of the assignment. It should discuss the algorithms and data structures you employed in accomplishing the assignment. You should also discuss any unique features contained in your program, problems with the program, and special instructions for compiling or using your program. If you wish to provide feedback on the assignment, ask questions, or compose poetry, this is probably the place to do it.

Submission

You should email tar file as an attachment to a message to danbennett360@gmail.com. This tar file should contain all of the source code required to generate your project, a Makefile, and the README file.

To create a tar file, you should place all of the files you want to submit into a single directory, for example hw1. One level above this directory type the command:

tar cvzf hw1.tgz hw1
This will create the file hw1.tgz in the current working directory. To check the contents of this file, type :
tar tzf hw1.tgz
To extract the contents of this file, type:
tar xvzf hw1.tgz

Tar is the Tape Ar hive utility for unix. It was originally intended to copy a file system to the tape device.