Metraipolis › archive › dc_30a5048e3bd8

Bresenham's line algorithm — Wikipedia (en)

Source
Wikipedia (en)
Original
https://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm
License (as archived)
CC-BY-SA-4.0
Archived
2026-10-06T14:06:22.854Z
SHA-256 of the archived text
d861cfb842ec0976245328b90b775f4b207fd88e77da0ba53b3d8200614f02e3
Stable URL of this page
https://metraipolis.com/documento/dc_30a5048e3bd8

How to cite

Bresenham's line algorithm — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_30a5048e3bd8 (Metraipolis archive dc_30a5048e3bd8, sha256 d861cfb842ec0976245328b90b775f4b207fd88e77da0ba53b3d8200614f02e3)
BibTeX
@misc{dc30a5048e3bd8,
  title = {Bresenham's line algorithm — Wikipedia (en)},
  howpublished = {Wikipedia (en)},
  url = {https://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm},
  note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_30a5048e3bd8; sha256 d861cfb842ec0976245328b90b775f4b207fd88e77da0ba53b3d8200614f02e3},
  year = {2026}
}

Archived text

Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

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. on a computer screen), as it uses only integer addition, subtraction, and bit shifting, all of which are very cheap operations in historically common computer architectures. It is an incremental error algorithm, and one of the earliest algorithms developed in the field of computer graphics. An extension to the original algorithm called the midpoint circle algorithm may be used for drawing circles. While algorithms such as Wu's algorithm are also frequently used in modern computer graphics because they can support antialiasing, Bresenham's line algorithm is still important because of its speed and simplicity. The algorithm is used in hardware such as plotters and in the graphics chips of modern graphics cards. It can also be found in many software graphics libraries. Because the algorithm is very simple, it is often implemented in either the firmware or the graphics hardware of modern graphics cards. The label "Bresenham" is used today for a family of algorithms extending or modifying Bresenham's original algorithm.

Tema degli esploratori: statistica e scienza dei dati (deposito sistematico; ricerca «algorithm»).
Fonte: Wikipedia in inglese, voce «Bresenham's line algorithm» — https://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm
Wikidata Q549860: «Algoritmo grafico usato in informatica per il tracciamento delle linee» (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q549860
Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm?action=history).
Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza.
Estratto dell'introduzione non modificato nel contenuto; revisione 1370877923, consultata il 2026-10-06T12:26:06.722Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 6df33090ebdf91e4ab76644109e2fbefbda909d1251b5498548504113f52224d