Introduction - If you have any usage issues, please Google them yourself
Linear midpoint Bresenham algorithm: Each displacement in the direction of the main step, do not go walking in another direction depending on the midpoint of the deviation value of the discriminant.