created 01/01/03
Note: You may find that appletviewer is a better tool to use with applet graphics than your Web browser.
Modify the snowflake method so that different levels of stars are drawn with different colors. Use colors that are all close to pastel blue. Do this by changing the pen color based on the size of the star.
Click here to go back to the main menu.
Implement the blizzard program: draw a few dozen randomly positioned snowflakes of a few random sizes and a few random colors.
Click here to go back to the main menu.
Write a java applet that creates the following figure:
The only drawing method this figure uses is
drawLine()
Write a method drawTriangle( int CenterX, int CenterY, int side )
(CenterX, CenterY)
side
is small.
Otherwise, it draws three triangles.
Click here to go back to the main menu.