Homework 2: Line and Circle Drawing Algorithms Instructions: For all the questions, use the graph that...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Homework 2: Line and Circle Drawing Algorithms Instructions: For all the questions, use the graph that I have provided separately. Use the Windows Paint program to fill the positions of the line. Submit the graphs as separate files. Upload this file as PDF and the three graph images separately, not in zip file, to the Blackboard before the deadline. Deadline: Tuesday 29th March, 2022 at 10 pm. For Q1 and Q2, use Digital Differential Analyzer (DDA) and Bresenham's algorithms for drawing a line between the end points (-3, -4) and ( 5, 3). In the tables below, do the calculations. Q1. Table for DDA algorithm marks] k pk (XK2, VkI) [3 Q2. Table for Bresenham's algorithm marks] k Pk (XKI, VKHI) [3 Q3. Add the points of a circle in the table using the Mid-circle algorithm for a circle with radius 7 and centered at (5, 7). [4 marks] k pk (XK+1, YK+1) | 2XK+1 2yk+1 How to use Paint to draw line or circle. • Choose the Rectangle shape • Choose same color 1 and color 2. Any color of your choice. • Draw a square in the selected pixel. • In the example below, the center is (0, 0) and the selected blue pixel is (2, 3). File Paste Home cu lly coo Clipboard graph-cartesian-Paint View Select CHO Rotate ¹15 x 16px ZA Tools WODOGA- Outine DOOOD OODAM Brushes 0+0000 EN 642x770px Size: 63.5KB 5. Color Color 2 Colors Homework 2: Line and Circle Drawing Algorithms Instructions: For all the questions, use the graph that I have provided separately. Use the Windows Paint program to fill the positions of the line. Submit the graphs as separate files. Upload this file as PDF and the three graph images separately, not in zip file, to the Blackboard before the deadline. Deadline: Tuesday 29th March, 2022 at 10 pm. For Q1 and Q2, use Digital Differential Analyzer (DDA) and Bresenham's algorithms for drawing a line between the end points (-3, -4) and ( 5, 3). In the tables below, do the calculations. Q1. Table for DDA algorithm marks] k pk (XK2, VkI) [3 Q2. Table for Bresenham's algorithm marks] k Pk (XKI, VKHI) [3 Q3. Add the points of a circle in the table using the Mid-circle algorithm for a circle with radius 7 and centered at (5, 7). [4 marks] k pk (XK+1, YK+1) | 2XK+1 2yk+1 How to use Paint to draw line or circle. • Choose the Rectangle shape • Choose same color 1 and color 2. Any color of your choice. • Draw a square in the selected pixel. • In the example below, the center is (0, 0) and the selected blue pixel is (2, 3). File Paste Home cu lly coo Clipboard graph-cartesian-Paint View Select CHO Rotate ¹15 x 16px ZA Tools WODOGA- Outine DOOOD OODAM Brushes 0+0000 EN 642x770px Size: 63.5KB 5. Color Color 2 Colors Homework 2: Line and Circle Drawing Algorithms Instructions: For all the questions, use the graph that I have provided separately. Use the Windows Paint program to fill the positions of the line. Submit the graphs as separate files. Upload this file as PDF and the three graph images separately, not in zip file, to the Blackboard before the deadline. Deadline: Tuesday 29th March, 2022 at 10 pm. For Q1 and Q2, use Digital Differential Analyzer (DDA) and Bresenham's algorithms for drawing a line between the end points (-3, -4) and ( 5, 3). In the tables below, do the calculations. Q1. Table for DDA algorithm marks] k pk (XK2, VkI) [3 Q2. Table for Bresenham's algorithm marks] k Pk (XKI, VKHI) [3 Q3. Add the points of a circle in the table using the Mid-circle algorithm for a circle with radius 7 and centered at (5, 7). [4 marks] k pk (XK+1, YK+1) | 2XK+1 2yk+1 How to use Paint to draw line or circle. • Choose the Rectangle shape • Choose same color 1 and color 2. Any color of your choice. • Draw a square in the selected pixel. • In the example below, the center is (0, 0) and the selected blue pixel is (2, 3). File Paste Home cu lly coo Clipboard graph-cartesian-Paint View Select CHO Rotate ¹15 x 16px ZA Tools WODOGA- Outine DOOOD OODAM Brushes 0+0000 EN 642x770px Size: 63.5KB 5. Color Color 2 Colors Homework 2: Line and Circle Drawing Algorithms Instructions: For all the questions, use the graph that I have provided separately. Use the Windows Paint program to fill the positions of the line. Submit the graphs as separate files. Upload this file as PDF and the three graph images separately, not in zip file, to the Blackboard before the deadline. Deadline: Tuesday 29th March, 2022 at 10 pm. For Q1 and Q2, use Digital Differential Analyzer (DDA) and Bresenham's algorithms for drawing a line between the end points (-3, -4) and ( 5, 3). In the tables below, do the calculations. Q1. Table for DDA algorithm marks] k pk (XK2, VkI) [3 Q2. Table for Bresenham's algorithm marks] k Pk (XKI, VKHI) [3 Q3. Add the points of a circle in the table using the Mid-circle algorithm for a circle with radius 7 and centered at (5, 7). [4 marks] k pk (XK+1, YK+1) | 2XK+1 2yk+1 How to use Paint to draw line or circle. • Choose the Rectangle shape • Choose same color 1 and color 2. Any color of your choice. • Draw a square in the selected pixel. • In the example below, the center is (0, 0) and the selected blue pixel is (2, 3). File Paste Home cu lly coo Clipboard graph-cartesian-Paint View Select CHO Rotate ¹15 x 16px ZA Tools WODOGA- Outine DOOOD OODAM Brushes 0+0000 EN 642x770px Size: 63.5KB 5. Color Color 2 Colors Homework 2: Line and Circle Drawing Algorithms Instructions: For all the questions, use the graph that I have provided separately. Use the Windows Paint program to fill the positions of the line. Submit the graphs as separate files. Upload this file as PDF and the three graph images separately, not in zip file, to the Blackboard before the deadline. Deadline: Tuesday 29th March, 2022 at 10 pm. For Q1 and Q2, use Digital Differential Analyzer (DDA) and Bresenham's algorithms for drawing a line between the end points (-3, -4) and ( 5, 3). In the tables below, do the calculations. Q1. Table for DDA algorithm marks] k pk (XK2, VkI) [3 Q2. Table for Bresenham's algorithm marks] k Pk (XKI, VKHI) [3 Q3. Add the points of a circle in the table using the Mid-circle algorithm for a circle with radius 7 and centered at (5, 7). [4 marks] k pk (XK+1, YK+1) | 2XK+1 2yk+1 How to use Paint to draw line or circle. • Choose the Rectangle shape • Choose same color 1 and color 2. Any color of your choice. • Draw a square in the selected pixel. • In the example below, the center is (0, 0) and the selected blue pixel is (2, 3). File Paste Home cu lly coo Clipboard graph-cartesian-Paint View Select CHO Rotate ¹15 x 16px ZA Tools WODOGA- Outine DOOOD OODAM Brushes 0+0000 EN 642x770px Size: 63.5KB 5. Color Color 2 Colors Homework 2: Line and Circle Drawing Algorithms Instructions: For all the questions, use the graph that I have provided separately. Use the Windows Paint program to fill the positions of the line. Submit the graphs as separate files. Upload this file as PDF and the three graph images separately, not in zip file, to the Blackboard before the deadline. Deadline: Tuesday 29th March, 2022 at 10 pm. For Q1 and Q2, use Digital Differential Analyzer (DDA) and Bresenham's algorithms for drawing a line between the end points (-3, -4) and ( 5, 3). In the tables below, do the calculations. Q1. Table for DDA algorithm marks] k pk (XK2, VkI) [3 Q2. Table for Bresenham's algorithm marks] k Pk (XKI, VKHI) [3 Q3. Add the points of a circle in the table using the Mid-circle algorithm for a circle with radius 7 and centered at (5, 7). [4 marks] k pk (XK+1, YK+1) | 2XK+1 2yk+1 How to use Paint to draw line or circle. • Choose the Rectangle shape • Choose same color 1 and color 2. Any color of your choice. • Draw a square in the selected pixel. • In the example below, the center is (0, 0) and the selected blue pixel is (2, 3). File Paste Home cu lly coo Clipboard graph-cartesian-Paint View Select CHO Rotate ¹15 x 16px ZA Tools WODOGA- Outine DOOOD OODAM Brushes 0+0000 EN 642x770px Size: 63.5KB 5. Color Color 2 Colors Homework 2: Line and Circle Drawing Algorithms Instructions: For all the questions, use the graph that I have provided separately. Use the Windows Paint program to fill the positions of the line. Submit the graphs as separate files. Upload this file as PDF and the three graph images separately, not in zip file, to the Blackboard before the deadline. Deadline: Tuesday 29th March, 2022 at 10 pm. For Q1 and Q2, use Digital Differential Analyzer (DDA) and Bresenham's algorithms for drawing a line between the end points (-3, -4) and ( 5, 3). In the tables below, do the calculations. Q1. Table for DDA algorithm marks] k pk (XK2, VkI) [3 Q2. Table for Bresenham's algorithm marks] k Pk (XKI, VKHI) [3 Q3. Add the points of a circle in the table using the Mid-circle algorithm for a circle with radius 7 and centered at (5, 7). [4 marks] k pk (XK+1, YK+1) | 2XK+1 2yk+1 How to use Paint to draw line or circle. • Choose the Rectangle shape • Choose same color 1 and color 2. Any color of your choice. • Draw a square in the selected pixel. • In the example below, the center is (0, 0) and the selected blue pixel is (2, 3). File Paste Home cu lly coo Clipboard graph-cartesian-Paint View Select CHO Rotate ¹15 x 16px ZA Tools WODOGA- Outine DOOOD OODAM Brushes 0+0000 EN 642x770px Size: 63.5KB 5. Color Color 2 Colors Homework 2: Line and Circle Drawing Algorithms Instructions: For all the questions, use the graph that I have provided separately. Use the Windows Paint program to fill the positions of the line. Submit the graphs as separate files. Upload this file as PDF and the three graph images separately, not in zip file, to the Blackboard before the deadline. Deadline: Tuesday 29th March, 2022 at 10 pm. For Q1 and Q2, use Digital Differential Analyzer (DDA) and Bresenham's algorithms for drawing a line between the end points (-3, -4) and ( 5, 3). In the tables below, do the calculations. Q1. Table for DDA algorithm marks] k pk (XK2, VkI) [3 Q2. Table for Bresenham's algorithm marks] k Pk (XKI, VKHI) [3 Q3. Add the points of a circle in the table using the Mid-circle algorithm for a circle with radius 7 and centered at (5, 7). [4 marks] k pk (XK+1, YK+1) | 2XK+1 2yk+1 How to use Paint to draw line or circle. • Choose the Rectangle shape • Choose same color 1 and color 2. Any color of your choice. • Draw a square in the selected pixel. • In the example below, the center is (0, 0) and the selected blue pixel is (2, 3). File Paste Home cu lly coo Clipboard graph-cartesian-Paint View Select CHO Rotate ¹15 x 16px ZA Tools WODOGA- Outine DOOOD OODAM Brushes 0+0000 EN 642x770px Size: 63.5KB 5. Color Color 2 Colors Homework 2: Line and Circle Drawing Algorithms Instructions: For all the questions, use the graph that I have provided separately. Use the Windows Paint program to fill the positions of the line. Submit the graphs as separate files. Upload this file as PDF and the three graph images separately, not in zip file, to the Blackboard before the deadline. Deadline: Tuesday 29th March, 2022 at 10 pm. For Q1 and Q2, use Digital Differential Analyzer (DDA) and Bresenham's algorithms for drawing a line between the end points (-3, -4) and ( 5, 3). In the tables below, do the calculations. Q1. Table for DDA algorithm marks] k pk (XK2, VkI) [3 Q2. Table for Bresenham's algorithm marks] k Pk (XKI, VKHI) [3 Q3. Add the points of a circle in the table using the Mid-circle algorithm for a circle with radius 7 and centered at (5, 7). [4 marks] k pk (XK+1, YK+1) | 2XK+1 2yk+1 How to use Paint to draw line or circle. • Choose the Rectangle shape • Choose same color 1 and color 2. Any color of your choice. • Draw a square in the selected pixel. • In the example below, the center is (0, 0) and the selected blue pixel is (2, 3). File Paste Home cu lly coo Clipboard graph-cartesian-Paint View Select CHO Rotate ¹15 x 16px ZA Tools WODOGA- Outine DOOOD OODAM Brushes 0+0000 EN 642x770px Size: 63.5KB 5. Color Color 2 Colors Homework 2: Line and Circle Drawing Algorithms Instructions: For all the questions, use the graph that I have provided separately. Use the Windows Paint program to fill the positions of the line. Submit the graphs as separate files. Upload this file as PDF and the three graph images separately, not in zip file, to the Blackboard before the deadline. Deadline: Tuesday 29th March, 2022 at 10 pm. For Q1 and Q2, use Digital Differential Analyzer (DDA) and Bresenham's algorithms for drawing a line between the end points (-3, -4) and ( 5, 3). In the tables below, do the calculations. Q1. Table for DDA algorithm marks] k pk (XK2, VkI) [3 Q2. Table for Bresenham's algorithm marks] k Pk (XKI, VKHI) [3 Q3. Add the points of a circle in the table using the Mid-circle algorithm for a circle with radius 7 and centered at (5, 7). [4 marks] k pk (XK+1, YK+1) | 2XK+1 2yk+1 How to use Paint to draw line or circle. • Choose the Rectangle shape • Choose same color 1 and color 2. Any color of your choice. • Draw a square in the selected pixel. • In the example below, the center is (0, 0) and the selected blue pixel is (2, 3). File Paste Home cu lly coo Clipboard graph-cartesian-Paint View Select CHO Rotate ¹15 x 16px ZA Tools WODOGA- Outine DOOOD OODAM Brushes 0+0000 EN 642x770px Size: 63.5KB 5. Color Color 2 Colors
Expert Answer:
Answer rating: 100% (QA)
K 0 1 2 3 4 5 6 7 here Ax 53 8 Ay347 Pk 6 4 2 0 2 14 12 10 so slope of l... View the full answer
Related Book For
Business Data Communications Infrastructure Networking and Security
ISBN: 978-0133023893
7th edition
Authors: William Stallings, Tom Case
Posted Date:
Students also viewed these accounting questions
-
Please read chapter 11 that i have provided a drop box link below. its approximately 20 pages. after careful reading, write at least a three page summary of the chapter. the report is expected to be...
-
Three particles, charge q1 = +10C, q2 = ?? 20C, and q3 = +30C, are positioned at the vertices of an isosceles triangle as shown in Figure. If a = 10 cm and b = 6.0 cm, how much work must an external...
-
A circle of radius 798.25 ft, centered at point A, intersects another circle of radius 1253.64 ft, centered at point B. The X and Y coordinates (in feet) of A are 3548.53 and 2836.49, respectively,...
-
1. (9 pts) Consider a supply chain with a manufacturer and a retailer. The product is offered for a single season. Suppose the manufacturer produces at a cost of $30/unit. The manufacturer sells to...
-
Clive Franks was reviewing the product costs for his line of artist's oil paints. The current production schedule calls for the paints to be produced in batches of 1,000 tubes. Between each batch,...
-
The Cantor set, named after the German mathematician Georg Cantor (1845-1918), is constructed as follows. We start with the closed interval [0, 1] and remove the open interval (1/3, 2/3). That leaves...
-
You are considering three alternative investments in bonds. The bonds have different times to maturity, but carry the same default risk. You would like to gain an impression of the extent of price...
-
The Content Rabbit Graphics Company paid its 25 employees a total of $863,428.49 during 2017. Of these wages, $5,400 is exempt fringe benefits (Section 125 cafeteria plans) and $9,850 is exempt...
-
Norman Corporation, an S Corporation, distributes Land to Betty, its only shareholder. Norman Corporation's Adjusted Basis for the land is $100,000 and the Fair Market Value of the Land is $225,000....
-
Jerry Stevenson is the manager of a medical clinic in Scottsdale, AZ. He wants to analyze patient data to identify high-risk patients for cardiovascular diseases. From medical literature, he learned...
-
A doctor has been caught having sexual relationships with his patients. The doctor tells his lawyer that he was recently divorced and suffers from depression. This mental illness and the divorce have...
-
A man purchased a new condominium for $825,000 that had 2,400 square feet of floor area. There were 315,000 total square feet in the complex. The total budget of the condominium owner's association...
-
You suspect that an executive is laundering money from his drug-dealing syndicate by running the receipts through his otherwise legitimate business. One of the ways he extracts the illicit money from...
-
Bandar Industries manufactures sporting equipment. One of the company's products is a football helmet that requires special plastic. During the quarter ending June 30, the company manufactured 3,300...
-
Melissa recently paid $ 4 0 0 for round - trip airfare to San Francisco to attend a business conference for three days. Melissa also paid the following expenses: $ 2 5 0 fee to register for the...
-
Bananas sells gift cards in $15, $25, and $50 increments. Assume Bananas sells $19.2 million in iTunes gift cards in November, an customers redeem $12.2 million of the gift cards in December....
-
Current Attempt in Progress Given the following list of items, Annual Ordering Holding Item Demand Cost ($) Cost (%) Unit Price ($) 101 750 10 102 1,910 10 30 20 20 0.50 0.20 103 5,230 25 30 1.00 4...
-
On July 1, 2011, Flashlight Corporation sold equipment it had recently purchased to an unaffiliated company for $480,000. The equipment had a book value on Flashlights books of $390,000 and a...
-
Explain why data transmission costs increase as bandwidth increases.
-
What is digital video?
-
Identify the types of multiplexing used in cellular telephone networks.
-
Tracy Company reports the following amounts in its annual financial statements: a. Compute Tracy's free cash flow. b. Compute Tracy's operating-cash-flow-to-current-liabilities ratio. c. Compute...
-
Review each of the following items, a through \(f\), and determine whether the item supports a (1) production view of quality or a (2) customer view of quality. a. Applying management-by-exception...
-
During the year, Paton Corporation's Long-Term Investments account (at cost) increased \(\$ 20,000\), the net result of purchasing stocks costing \(\$ 85,000\) and selling stocks costing \(\$...
Study smarter with the SolutionInn App