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. It is commonly used to draw line primitives in a bitmap image (e.g.

Source: Wikipedia — Bresenham's line algorithm (CC BY-SA 4.0)

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. It is commonly used to draw line primitives in a bitmap image (e.g.

Source: Wikipedia "Bresenham's line algorithm" · CC BY-SA 4.0

Share this article: X · Bluesky
Privacy Policy