Answer:
drawLine( int x0, int y0, int x1, int y1)
Snowflake
The first applet of this chapter draws the snowflake figure
that was discussed in the first chapter on recursion.
The snowflake consists entirely of straight lines.
The only drawing method used is the drawLine()
|
Embedded Java applet removed: modern browsers do not support Java applets. The surrounding source code is retained for historical study.
|
You should see a snowflake figure. It may take 30 seconds or so for this to load. If you see nothing after a few minutes, click on the "reload" icon of your browser. If after this you still see nothing, check that your browser has applets enabled. If you are behind a firewall, it may be blocking applets.
QUESTION 3:
What is the basic shape of the snowflake figure?