Midpoint Line Algorithm - Computer Graphics Implementation on a derivation from the Bresenham's line draw algorithm. Bresenham's line algorithm