Bresenham Line Algorithm
The Bresenham line algorithm determines which pixels to illuminate when drawing a line between two points on a grid. Move your mouse to see the pixels that would be used to draw a line from the blue cell to the red cell.
The Bresenham line algorithm determines which pixels to illuminate when drawing a line between two points on a grid. Move your mouse to see the pixels that would be used to draw a line from the blue cell to the red cell.