JNTUA COLLEGE OF ENGINEERING (AUTONOMOUS):: ANANTHAPURAMU
**** DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING****
II [Link] – II SEMESTER(R-19)
Computer Graphics Lab
L T P C
0 0 2 1
At the end of the course the student will have
the generic skills to design algorithms for Computer Graphics
Understand the need of developing graphics application
Learn algorithmic development of graphics primitives like: line, circle,
polygon etc.
Learn the representation and transformation of graphical images and
pictures.
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:
Draw Geometric primitives (L5)
Execute scan line polygon filling(L4)
Implement basic transformations on objects (L6)
Implement clipping algorithm on lines using OpenGL(L6)
Text Books
Interactive Computer Graphics A Top-Down Approach with OpenGL, Edward Angel, Pearson,
5th Edition, 2009.