|Bresenham's algorithm is an efficient way of deciding which pixels to illuminate to trace a line on a computer screen. In this demonstration model, small squares 1 unit by 1 unit represent pixels. By changing the end point of the line you can make the pixels shrink relative to the plot window. More pixels, which amounts to higher resolution, means a better quality line.
Bob Ferguson, 2 April 2007