Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2 Input & Output This program gathers no input from the user. . 2.1 Part 1 Generate the graphic output shown at right, on a
2 Input & Output This program gathers no input from the user. . 2.1 Part 1 Generate the graphic output shown at right, on a 600x600 Drawing Panel. Alter the colors to suit your taste. The line colors should shift gradually from one color to different color. In the sample, the lines shift from blue to green. Set the increment between lines to something pleasing to the eye; it does not need to match the sample. For descriptions of the technique and samples of output, see these sites: site1, site2. . 2.2 Part 2 Create an additional drawing panel at least 800 x 800. Draw filled-in shapes of at least two types (rectangles, circles, etc.) in at least two colors. Lines do not count as shapes for this part; add them on top, if you would like, after meeting the requirements. Each shape type must be drawn by a function that you write, with parameters indicating where it is to be drawn, how big it is to be, and what color(s) to use for the shape. For example, if you are drawing trees, you might create drawTree with parameters for size, location, trunk color, and leaf color. Even if you are only creating simple shapes, create and use one or two such functions. Draw many shapes (10+) in an attractive pattern. Do something unique and interesting, perhaps drawing a landscape or creating an eye-catching repeating geometric design. To celebrate your achievements, I will anonymously share with the class some of the most creative work. 3 Code Implementation 2 Input & Output This program gathers no input from the user. . 2.1 Part 1 Generate the graphic output shown at right, on a 600x600 Drawing Panel. Alter the colors to suit your taste. The line colors should shift gradually from one color to different color. In the sample, the lines shift from blue to green. Set the increment between lines to something pleasing to the eye; it does not need to match the sample. For descriptions of the technique and samples of output, see these sites: site1, site2. . 2.2 Part 2 Create an additional drawing panel at least 800 x 800. Draw filled-in shapes of at least two types (rectangles, circles, etc.) in at least two colors. Lines do not count as shapes for this part; add them on top, if you would like, after meeting the requirements. Each shape type must be drawn by a function that you write, with parameters indicating where it is to be drawn, how big it is to be, and what color(s) to use for the shape. For example, if you are drawing trees, you might create drawTree with parameters for size, location, trunk color, and leaf color. Even if you are only creating simple shapes, create and use one or two such functions. Draw many shapes (10+) in an attractive pattern. Do something unique and interesting, perhaps drawing a landscape or creating an eye-catching repeating geometric design. To celebrate your achievements, I will anonymously share with the class some of the most creative work. 3 Code Implementation
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started