Computer Graphics Lab
Computer Graphics Lab
1. Write a program to draw a line using Digital Differential Analyzer (DDA) Algorithm
2. Write a program to draw a line using Bresenham’s Line Algorithm (BLA) for lines with
slopes negative and less than 1.
3. Write a program to draw a line using Bresenham’s Line Algorithm (BLA) for lines with
slopes positive and less than 1.
4. Write a program to draw a line using Bresenham’s Line Algorithm (BLA) for lines with
slopes positive and greater than 1.
5. Write a program to draw a line using Bresenham’s Line Algorithm (BLA) for lines with
slopes negative and greater than 1.
6. Write a program to draw a circle using Bresenham’s Circle Algorithm.
7. Write a program to draw a circle using MidPoint Circle Algorithm
8. Write a program to draw a circle using Trigonometric Method.
9 Write a program to draw a circle using Polynomial Method.
10. Write a program to draw an ellipse using MidPoint Ellipse Algorithm.
11. Write a program to draw an ellipse using Trigonometric Method.
12. Write a program to draw an ellipse using Polynomial Method.
13. Write a program to fill different types of geometric shapes using Flood Fill Algorithm
14. Write a program to fill different types of geometric shapes using Boundary Fill Algorithm
15. Write a program to draw a C-Curve of nth order.
Course outcomes:
Text Books
Interactive Computer Graphics A Top-Down Approach with OpenGL, Edward Angel, Pearson,
5th Edition, 2009.