Digital differential analyzer (graphics algorithm): Difference between revisions

Content deleted Content added
No edit summary
ce hatnote
Line 1:
{{About|a graphics algorithm|the digital implementation of a Differentialdifferential Analyzeranalyzer|Digital Differentialdifferential Analyzeranalyzer}}
 
In [[computer graphics]], a '''[[digital differential analyzer]]''' ('''DDA''') is hardware or software used for [[linear interpolation]] of [[Variable (computer science)|variables]] over an [[Interval (mathematics)|interval]] between start and end point. DDAs are used for [[rasterization]] of lines, triangles and polygons. In its simplest implementation, the DDA algorithm interpolates values in interval by computing for each x<sub>i</sub> the equations x<sub>i</sub> = x<sub>i−1</sub>+1/m, y<sub>i</sub> = y<sub>i−1</sub> + m, where Δx = x<sub>end</sub> − x<sub>start</sub> and Δy = y<sub>end</sub> − y<sub>start</sub> and m = Δy/Δx