Question: 2 11 (a) Define computer graphics and explain its various applications. (b)List the major differences between DDA and Bresenham's Line drawing algorithms. Given a
2 11 (a) Define computer graphics and explain its various applications. (b)List the major differences between DDA and Bresenham's Line drawing algorithms. Given a line with two end points A (2, 2) and B (9, 2). Write a code that executes Bresenham's line drawing algorithm for A and B. Develop a table to connect A to B (show your plot). If x and y axes in A and B were to be switched, derive an expression (with illustrative diagram) for Bresenham's algorithm that connects the new points A' and B'. Generate a plot for A'B' and compare your result with AB.
Step by Step Solution
There are 3 Steps involved in it
Certainly Lets tackle your question step by step a Define computer graphics and explain its various applications Computer graphics are pictures and films created using computers They are a subset of c... View full answer
Get step-by-step solutions from verified subject matter experts
