This document describes various algorithms for drawing lines in computer graphics, including the Digital Differential Analyzer (DDA) algorithm and Bresenham's line algorithm. The DDA algorithm samples a line at discrete positions by calculating changes in one coordinate by a fixed amount and determining the corresponding value of the other coordinate. Bresenham's algorithm uses only incremental integer calculations to determine which of two possible pixel positions is closer to the true line at each sample step.