# Questions Assignment 4: Line Drawing
Q1.)Write a program to implement DDA (Digital Differential Analyser) algorithm. Your program should be able to take any end points as input.
Q2.)Write a program in C to implement Bresenhams line drawing algorithm. As input, program should take any end points of a line segment.
Q3.)Re-write the above programs considering the window, you have created, as a square grid of cells. Consider that each cell is a box of pixels (for example, 66 box), and it is a single point in your program.

![[Solved] Computer Graphics OpenGL Assignment 4](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip.jpg)

![[SOLVED] Cs 218 – assignment #10 using opengl to calculate and display the output](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip-1200x1200.jpg)
Reviews
There are no reviews yet.