Bresenham's line algorithm (Line Drawing Line Drawing)

From Algorithm Wiki
Revision as of 08:41, 10 April 2023 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Time Complexity

$O(n)$

Space Complexity

$O({1})$ words?

(Constant number of O(1)-word-sized variables (for determining which pixels to shade) is sufficient)

Description

Approximate?

Exact

Randomized?

No, deterministic

Model of Computation

Word RAM?

Year

1965

Reference

https://web.archive.org/web/20080528040104/http://www.research.ibm.com/journal/sj/041/ibmsjIVRIC.pdf