StraightLines.pdf (492.78 kB)
Algorithm 54 - Approximation of straight lines
journal contributionposted on 2023-05-25, 22:21 authored by Sale, AHJ
This routine implements a method described by JE Bresenham (1965) for teh control of an incremental digital plotter in USASI FORTRAN. A similar algorithm has been published before (Stockton, 1963) which is externally identical to that given here (it produces the same set of increments); this version is simpler and written to achieve fast execution of the inner loop. No multiplications or divisions are needed.
Publication titleThe Computer Journal
PublisherBritish Computer Society