Monday, September 10, 2007

More Drawing

How did you go about testing your program? What were the results of that testing?

To be able to draw the exact drawing on the paper, I needed to input values and run the program to see if the drawing matched the one on the paper. For example, for the mouth, at first i entered:


marker.up();
marker.move(40,60);
marker.down();
marker.forward(15);

this generated a slanted image. So instead I did this:


marker.up();
marker.move(40,60);
marker.down();
marker.move(40,45);

This generated what I wanted.

No comments: