y: 20 x: 40 dx: 0, dy: 10 i: 1 fy: 5, y2: 4, sgn(dy): 1 fx: 9, x2: 9, sgn(dx): 0 i: 2 fy: 6, y2: 4, sgn(dy): 1 fx: 9, x2: 9, sgn(dx): 0 i: 3 fy: 7, y2: 4, sgn(dy): 1 fx: 9, x2: 9, sgn(dx): 0 i: 4 fy: 8, y2: 4, sgn(dy): 1 fx: 9, x2: 9, sgn(dx): 0 i: 5 fy: 9, y2: 4, sgn(dy): 1 fx: 9, x2: 9, sgn(dx): 0 i: 6 fy: 10, y2: 4, sgn(dy): 1 fx: 9, x2: 9, sgn(dx): 0 i: 7 fy: 11, y2: 4, sgn(dy): 1 fx: 9, x2: 9, sgn(dx): 0 i: 8 fy: 12, y2: 4, sgn(dy): 1 fx: 9, x2: 9, sgn(dx): 0 i: 9 fy: 13, y2: 4, sgn(dy): 1 fx: 9, x2: 9, sgn(dx): 0 dx: -20, dy: 0 i: 1 fy: 4, y2: 4, sgn(dy): 0 fx: 28, x2: 29, sgn(dx): -1 i: 2 fy: 4, y2: 4, sgn(dy): 0 fx: 27, x2: 29, sgn(dx): -1 i: 3 fy: 4, y2: 4, sgn(dy): 0 fx: 26, x2: 29, sgn(dx): -1 i: 4 fy: 4, y2: 4, sgn(dy): 0 fx: 25, x2: 29, sgn(dx): -1 i: 5 fy: 4, y2: 4, sgn(dy): 0 fx: 24, x2: 29, sgn(dx): -1 i: 6 fy: 4, y2: 4, sgn(dy): 0 fx: 23, x2: 29, sgn(dx): -1 i: 7 fy: 4, y2: 4, sgn(dy): 0 fx: 22, x2: 29, sgn(dx): -1 i: 8 fy: 4, y2: 4, sgn(dy): 0 fx: 21, x2: 29, sgn(dx): -1 i: 9 fy: 4, y2: 4, sgn(dy): 0 fx: 20, x2: 29, sgn(dx): -1 i: 10 fy: 4, y2: 4, sgn(dy): 0 fx: 19, x2: 29, sgn(dx): -1 i: 11 fy: 4, y2: 4, sgn(dy): 0 fx: 18, x2: 29, sgn(dx): -1 i: 12 fy: 4, y2: 4, sgn(dy): 0 fx: 17, x2: 29, sgn(dx): -1 i: 13 fy: 4, y2: 4, sgn(dy): 0 fx: 16, x2: 29, sgn(dx): -1 i: 14 fy: 4, y2: 4, sgn(dy): 0 fx: 15, x2: 29, sgn(dx): -1 i: 15 fy: 4, y2: 4, sgn(dy): 0 fx: 14, x2: 29, sgn(dx): -1 i: 16 fy: 4, y2: 4, sgn(dy): 0 fx: 13, x2: 29, sgn(dx): -1 i: 17 fy: 4, y2: 4, sgn(dy): 0 fx: 12, x2: 29, sgn(dx): -1 i: 18 fy: 4, y2: 4, sgn(dy): 0 fx: 11, x2: 29, sgn(dx): -1 i: 19 fy: 4, y2: 4, sgn(dy): 0 fx: 10, x2: 29, sgn(dx): -1 dx: 0, dy: -10 i: 1 fy: 13, y2: 14, sgn(dy): -1 fx: 29, x2: 29, sgn(dx): 0 i: 2 fy: 12, y2: 14, sgn(dy): -1 fx: 29, x2: 29, sgn(dx): 0 i: 3 fy: 11, y2: 14, sgn(dy): -1 fx: 29, x2: 29, sgn(dx): 0 i: 4 fy: 10, y2: 14, sgn(dy): -1 fx: 29, x2: 29, sgn(dx): 0 i: 5 fy: 9, y2: 14, sgn(dy): -1 fx: 29, x2: 29, sgn(dx): 0 i: 6 fy: 8, y2: 14, sgn(dy): -1 fx: 29, x2: 29, sgn(dx): 0 i: 7 fy: 7, y2: 14, sgn(dy): -1 fx: 29, x2: 29, sgn(dx): 0 i: 8 fy: 6, y2: 14, sgn(dy): -1 fx: 29, x2: 29, sgn(dx): 0 i: 9 fy: 5, y2: 14, sgn(dy): -1 fx: 29, x2: 29, sgn(dx): 0 dx: 20, dy: 0 i: 1 fy: 14, y2: 14, sgn(dy): 0 fx: 10, x2: 9, sgn(dx): 1 i: 2 fy: 14, y2: 14, sgn(dy): 0 fx: 11, x2: 9, sgn(dx): 1 i: 3 fy: 14, y2: 14, sgn(dy): 0 fx: 12, x2: 9, sgn(dx): 1 i: 4 fy: 14, y2: 14, sgn(dy): 0 fx: 13, x2: 9, sgn(dx): 1 i: 5 fy: 14, y2: 14, sgn(dy): 0 fx: 14, x2: 9, sgn(dx): 1 i: 6 fy: 14, y2: 14, sgn(dy): 0 fx: 15, x2: 9, sgn(dx): 1 i: 7 fy: 14, y2: 14, sgn(dy): 0 fx: 16, x2: 9, sgn(dx): 1 i: 8 fy: 14, y2: 14, sgn(dy): 0 fx: 17, x2: 9, sgn(dx): 1 i: 9 fy: 14, y2: 14, sgn(dy): 0 fx: 18, x2: 9, sgn(dx): 1 i: 10 fy: 14, y2: 14, sgn(dy): 0 fx: 19, x2: 9, sgn(dx): 1 i: 11 fy: 14, y2: 14, sgn(dy): 0 fx: 20, x2: 9, sgn(dx): 1 i: 12 fy: 14, y2: 14, sgn(dy): 0 fx: 21, x2: 9, sgn(dx): 1 i: 13 fy: 14, y2: 14, sgn(dy): 0 fx: 22, x2: 9, sgn(dx): 1 i: 14 fy: 14, y2: 14, sgn(dy): 0 fx: 23, x2: 9, sgn(dx): 1 i: 15 fy: 14, y2: 14, sgn(dy): 0 fx: 24, x2: 9, sgn(dx): 1 i: 16 fy: 14, y2: 14, sgn(dy): 0 fx: 25, x2: 9, sgn(dx): 1 i: 17 fy: 14, y2: 14, sgn(dy): 0 fx: 26, x2: 9, sgn(dx): 1 i: 18 fy: 14, y2: 14, sgn(dy): 0 fx: 27, x2: 9, sgn(dx): 1 i: 19 fy: 14, y2: 14, sgn(dy): 0 fx: 28, x2: 9, sgn(dx): 1 20 40 ........................................ ........................................ ........................................ ........................................ .........*===================*.......... .........|...................|.......... .........|...................|.......... .........|...................|.......... .........|...................|.......... .........|...................|.......... .........|...................|.......... .........|...................|.......... .........|...................|.......... .........|...................|.......... .........*===================*.......... ........................................ ........................................ ........................................ ........................................ ........................................