Goals |
Please take a minute to give us feedback on the first segment of the course.
Part 1: H-tree pattern (6 points) |
Part 2: your artistic creation (3 points) |
We'll deduct 1 point if you're picture is overly boring and too similar to htree.c. Most students have fun with this part, but if you have already spent too much of your time on this assignment, keep in mind that 1 point is only 1 point.
Feel free to use the color.map file from the Mandelbrot assignment for brilliant colors. In this case, your input.txt file will be (or contain) a copy of the color.map file.
Submission and readme (1 point) |
Do not use different file names or capitalization, even for your artistic creation. Note, that you will not submit any .ps files. We will generate these from your C programs. Be sure that your htree.c reads in the single integer D from stdin. Also, we will run your art.c program with the command "a.out" or "a.out < input.txt" if you submit the file input.txt./u/cs126/bin/submit 4 readme htree.c art.c input.txt
Submissions deviating from these guidelines are subject to severe penalties.
Extra credit (1 point) |
The extra credit is intended to challenge the more advanced students, and is strongly recommended for students aiming for an A+ in the course. If you are still struggling with the basics of recursion, you will probably benefit more by understanding the recursion examples in the lecture notes than by attempting the extra credit.