Computer Science, asked by kushi2073, 1 year ago

characteristics of line drawing algorithm​

Answers

Answered by apilkhadka2017
0

Answer:

A line drawing algorithm is a graphical algorithm for approximating a line segment on discrete graphical media. On discrete media, such as pixel-based displays and printers, line drawing requires such an approximation (in nontrivial cases). Basic algorithms rasterize lines in one color. A better representation with multiple color gradations requires an advanced process, spatial anti-aliasing.

It have various characteristics some of them are

Explanation:

The Cartesian slope-intercept equation for a straight line is {\displaystyle Y=mx+b} Y=mx+b With m representing the slope of the line and b as the y intercept. Given that the two endpoints of the line segment are specified at positions {\displaystyle (x1,y1)} (x1,y1) and {\displaystyle (x2,y2)} (x2,y2). we can determine values for the slope m and y intercept b with the following calculations, {\displaystyle m=(y2-y1)/(x2-x1)} m=(y2-y1)/(x2-x1) so, {\displaystyle b=y1-m.x1} b=y1-m.x1.

Answered by StaceeLichtenstein
0

Following are the characteristics of line drawing algorithm​  is given below

Explanation:

  • The line is drawn in the form of pixels in the computer system
  • In this the line would be shown along its length with steady visibility, regardless of its distance and the direction of the line.
  • With the help of a line drawing algorithm we can easily draw the line in the computer system.
  • We can use Bresenham's and DDA Line Algorithm to draw the line in the computer system these two algorithms have a different method to implement the line.

Learn More :

  • brainly.in/question/3053482
Similar questions