Bresenham’s algorithm with Grey scale
The control parameter in Bresenham's algorithm, when interpreted as a measure of distance from a straight line boundary, gives a weighted average of the intensities on each side of the line. This can be used to produce an aesthetically pleasing visual effect with modern display devices.