Explain bresenham's line drawing algorithm with p (20,10)and q(30,18)
Answers
Answer:
Example 3-1:Using Bresenham's Line- Drawing Algorithm, digitize the line with endpoints (20,10) and (30,18). -- ∆y = 18 – 10 = 8.
Answer:
The correct answer to this question is digitize the line with endpoints (20,10) and use Bresenham's Line- Drawing Algorithm (30,18). — ∆y = 18 - 10 = 8.
Explanation:
Given - Bresenham's line drawing algorithm.
To Find - Explain bresenham's line drawing algorithm with p (20,10)and q(30,18).
Digitize the line with endpoints (20,10) and use Bresenham's Line- Drawing Algorithm (30,18). — ∆y = 18 - 10 = 8.
This technique is used to transform a line from scan to text. Bresenham was the one who created it. Because it only uses integer addition, subtraction, and multiplication operations, it is an efficient approach. Lines may be created quickly because these procedures can be completed extremely quickly.
Differential Digital Algorithm ( DDA) Digital Differential Algorithm, sometimes known as DDA, is an incremental conversion technique.
The algorithm of the Bresenham Line. The Bresenham algorithm is used in scan conversion.
#SPJ2