Programming Assignment Checklist: Recursive Graphics

Frequently Asked Questions

What do I need to do to get full credit for the artistic part of the assignment? This part is meant to be fun, but here are some guidelines in case you're not so artistic. A very good approach is to choose a self-referential pattern as a target output. Check out the graphics exercises in Section 2.7 for still more possibilities. See also the Famous Fractals in Fractals Unleashed for some ideas. Here are some more ideas. Then, try to figure out a recursive scheme that will generate it. Some pictures are harder to generate than others; consult a preceptor for advice if you're unsure.

What will cause me to lose points on the artistic part? We'll deduct points if your picture is overly boring or too similar to HTree.java. You will also lose points if your artwork could easily be created without recursion, e.g., it is tail-recursive: a single recursive call at the very end of the function.

Can I use GIF or JPEG files in my artistic creation? Yes. If so, be sure to submit them along with your other files. Make it clear in your readme.txt what part of the design is yours and what part is borrowed from the image file.

Can I rescale GIF or JPEG images in Turtle.java? Not currently.

I get the error java.lang.NullPointerException. What am I doing wrong? Perhaps you forget Turtle.create(512, 512).

I get a blank gray screen. What am I doing wrong? Perhaps you forget Turtle.destroy().

Testing and Submission

readme.txt. Use the following readme file template and answer all questions.

Submission. If you don't follow these instructions, you risk upsetting your grader and losing a significant number of points.

Extra Credit

Although it is not mentioned in the assignment, we'll award extra credit if you follow the above instructions to create an image for the Display Wall in the Frist Student Center. This requires no programming and can be alot of fun! Follow these display wall instructions to show off your artwork and earn 2 points of extra credit at the same time. Name your jpg file login.jpg where login is replaced by your arizona login name.

Here are the display wall submissions from Spring 2001, Fall 2001, Spring 2002, Fall 2002, and Spring 2003.

Possible Progress Steps

These are purely suggestions for how you might make progress. You do not have to follow these steps. Note that your final HTree.java program should not be very long (ours is 21 lines, not including commments and blank lines).