Digital differential analyzer (graphics algorithm): Difference between revisions

Content deleted Content added
m revert - rm link to undergraduate student implementation; formatting: whitespace (using Advisor.js)
Line 12:
 
where ''m'' represents the slope of the line and ''c'' is the y intercept . this slope can be expressed in DDA
as
: <math>m = \frac{y_{end} -y_{start}}{x_{end}-x_{start}}</math>
in fact any two consecutive point(x,y) lying on this line segment should satisfy the equation.
Line 34:
* [[Xiaolin Wu's line algorithm]] is an algorithm for line anti-aliasing
 
== References ==
* [http://www.shubhsblog.com/c/c-program-code-for-drawing-line-using-dda/ Implementation of DDA ]in C++
 
{{no footnotes|date=June 2011}}