For this milestone, you will be creating a much more complex drawing for each cell and individually filling them in. The drawing will have 4 different sections that can be individually filled in. Then create a grid using the drawing, similar to milestone 3. Once again, we will be adding inputs for 4 new colors. Sample output: Grid size (n): (input) Pen color: (input) Color 1: (input) Color 2: (input) Color 3: (input) Color 4: (input) You can still: decide whether the cells and its drawings are filled or unfilled and decide where Colors 1-4 go in your drawing choose the fill and pen colors based on user input Once again, you'll be trying to match the drawing provided: The example has all the location of each point as coordinates relative to the cell's top left corner. Use it as a reference on how to draw each cell. Here is the drawing colored, each section should be a different color (if filled and if user adds the same color multiple times, you should use whatever they entered):

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter12: Event-driven Gui Programming, Multithreading, And Animation
Section: Chapter Questions
Problem 20RQ
icon
Related questions
Question

For this milestone, you will be creating a much more complex drawing for each cell and individually filling them in. The drawing will have 4 different sections that can be individually filled in. Then create a grid using the drawing, similar to milestone 3.

Once again, we will be adding inputs for 4 new colors.

Sample output:

Grid size (n): (input) Pen color: (input) Color 1: (input) Color 2: (input) Color 3: (input) Color 4: (input)

You can still:

  • decide whether the cells and its drawings are filled or unfilled and decide where Colors 1-4 go in your drawing
  • choose the fill and pen colors based on user input

Once again, you'll be trying to match the drawing provided:

The example has all the location of each point as coordinates relative to the cell's top left corner. Use it as a reference on how to draw each cell.

Here is the drawing colored, each section should be a different color (if filled and if user adds the same color multiple times, you should use whatever they entered):

0,0
0, -0.9x
0,-x
0.5x, -0.4,x
0.4x, -0.7x
0.65x, -0.85x
x,0
X, -0.2x
X,-X
Transcribed Image Text:0,0 0, -0.9x 0,-x 0.5x, -0.4,x 0.4x, -0.7x 0.65x, -0.85x x,0 X, -0.2x X,-X
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Random Class and its operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning