Differentiate between DDA Algorithm and Bresenham's Line Algorithm
DDA Algorithm | Bresenham's Line Algorithm |
---|---|
1. DDA Algorithm use floating point, i.e., Real Arithmetic. | 1. Bresenham's Line Algorithm use fixed point, i.e., Integer Arithmetic |
2. DDA Algorithms uses multiplication & division its operation | 2.Bresenham's Line Algorithm uses only subtraction and addition its operation |
3. DDA Algorithm is slowly than Bresenham's Line Algorithm in line drawing because it uses real arithmetic (Floating Point operation) | 3. Bresenham's Algorithm is faster than DDA Algorithm in line because it involves only addition & subtraction in its calculation and uses only integer arithmetic. |
4. DDA Algorithm is not accurate and efficient as Bresenham's Line Algorithm. | 4. Bresenham's Line Algorithm is more accurate and efficient at DDA Algorithm. |
5.DDA Algorithm can draw circle and curves but are not accurate as Bresenham's Line Algorithm | 5. Bresenham's Line Algorithm can draw circle and curves with more accurate than DDA Algorithm. |