Bresenham's line-drawing algorithm · HackerTrans