Bresenham's line algorithm

Bresenham’s line algorithm is a line drawing algorithm that determines the points of an n-dimensional raster that should be selected in order to form a close approximation to a straight line between two points. - wikipedia / HN / pdf

see also

Written on April 13, 2021, Last update on October 17, 2024
math algorithm integer