Computer Science, asked by NagarajMaddarki, 9 months ago

what are different types of line drawing algorithms​

Answers

Answered by advait251206
2

Answer:naive algorithm

Digital Differential Analyzer (graphics algorithm) — Similar to the naive line-drawing algorithm, with minor variations.

Bresenham's line algorithm — optimized to use only additions (i.e. no divisions or multiplications); it also avoids floating-point computations.

Xiaolin Wu's line algorithm — can perform spatial anti-aliasing, appears "ropey" from brightness varying along the length of the line

Gupta-Sproull algorithm

Explanation:

Answered by prashikgawai2001
1

Explanation:

  • Naive algorithm.
  • Digital Differential Analyzer (graphics algorithm) — Similar to the naive line-drawing algorithm, with minor variations.
  • Bresenham's line algorithm — optimized to use only additions (i.e. no divisions or multiplications); it also avoids floating-point computations
Similar questions