Difference Between DDA and Bresenham’s Line Algorithm




DDA Algorithm Bresenham's Line Algorithm
1. DDA Algorithm uses floating point, real arithmetic.1. Bresenham's Algorithm uses fixed points, integer arithmetic.
2. DDA algorithm uses multiplication and division operations.2. Bresenham's Algorithm uses addition and subtraction operations.
3. DDA algorithm is slower than Bresenham's Algorithm because it uses real arithmetic floating point operations.3. Bresenham's Algorithm is faster than DDA algorithm because it uses integer arithmetic.
4. DDA algorithm can draw circles and curves with less accuracy.4. Bresenham's Algorithm can draw circles and curves with much more accuracy.
5. DDA algorithm is less efficient than Bresenham's Algorithm.5. Bresenham's Algorithm is more efficient than DDA Algorithm.
6. DDA algorithm round-off the co-ordinates to integer that is nearest to the line.6. Bresenham's Algorithm doesn't round-off the co-ordinates.

Recommended Posts:

Computer Graphics
    1. Display Devices in Graphics
    2. Raster Scan Display
    3. Random Scan Display
    4. Input Devices
    5. Output Devices
    6. Types of Printer
    7. Pixel and Resolution in Graphics
    8. Aspect Ratio
    9. Refresh Rate and Interlacing
    10. Digital Differential Analyzer (DDA) Algorithm
    11. Bresenham’s Line Algorithm
    12. Bresenham’s Circle Drawing Algorithm
    13. Difference Between DDA and Bresenham’s Line Algorithm
    14. MidPoint Circle Drawing Algorithm
    15. Anti-Aliasing in Graphics