Content deleted Content added
fix first sentence |
No edit summary |
||
Line 1:
{{Cleanup|date=August 2007}}{{Refimprove|date=August 2007}}{{context}}
In [[Computer graphics]], '''Digital Differential Analyzer (DDA)''' is used for generating pixels using a line formed by two points. It employees the equation for line representation (example: y=mx+c), then scan through an axis. Each scan it would determine the value on the other axis using the equation, this way the proper pixel can be located.
Here is a sample C code of the DDA implementation:
|