Bresenham's line algorithm
continuity over space; correct line coloring; non-broken rectangles