Computer Graphics, Spring 2000
This homework must be given personally to the instructor before
or at 2:00PM on Monday, 1/24/2000 . Each part is worth 10 points.
1. Use the Paint program to create a picture that contains at least four ellipses filled using different colors, two round rectangles and an image of a house (drawn by hand). Also, the picture will contain your name and date in its right-hand corner. Save this picture as a file house.bmp, then print the content of the file and turn it in.
2. Open Microsoft Word, click on the draw button and create a picture that contains at least five identical ellipses, five cubes and two identical copies of the image of a house. Also, the picture will contain your name and date in its right-hand corner. Save this picture as a file car.doc, then print the content of the file and turn it in.
3.(Extra) Using the Visual Basic Editor (say from Excel -> Tools
->Macros-> VB Editor) design a user form that asks the user to enter his
or her name, SSN, sex (only one) and displays the buttons Process, Cancel
and Help. This form should also contain your name. Print the form
and turn it in.
Homework #2
Computer Graphics, Spring 2000
This homework must be given personally to the instructor before or at 2:PM on Monday, 2/14/2000 .
1. (10 points) Write a Java applet that draws a series of eight concentric circles. The circles should be separated by 10 pixels.
2.(10 points) Write an applet that draws 25 lines of random lengths in random colors. All lines must be visible.
3. (10 points) Write an applet that displays five triangles of
different sizes. Each triangle should be filled with different color.