0% found this document useful (0 votes)
23 views

Computer Engineering: List of Experiments

This document contains a list of experiments for the Computer Graphics course. The experiments cover topics such as drawing basic shapes, translating, rotating, scaling and reflecting objects, drawing lines using different algorithms, filling polygons and circles using different algorithms, and creating simple animations. The experiments are divided into 6 tutorials and involve writing programs in C/C++ to demonstrate various computer graphics concepts and techniques.

Uploaded by

Mobile Mart
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

Computer Engineering: List of Experiments

This document contains a list of experiments for the Computer Graphics course. The experiments cover topics such as drawing basic shapes, translating, rotating, scaling and reflecting objects, drawing lines using different algorithms, filling polygons and circles using different algorithms, and creating simple animations. The experiments are divided into 6 tutorials and involve writing programs in C/C++ to demonstrate various computer graphics concepts and techniques.

Uploaded by

Mobile Mart
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Computer Engineering

Sub: Computer Graphics (DCE505) Instructor 1: Ravindra R. Dangar


Branch & SEM: 5th CE Year: 2017-18 (2015 entry batch)

List of Experiments

__________________________________________________________
Tut
Definitions
No
1 1) List and explain all the functions of graphics with syntax and example.
2) Draw a coordinate axis at the center of the screen.
3) Draw a twinkling star at the center of the screen using lineto() function.
4) Draw the circle at the center of the screen.
5) Draw the rectangle at the center of the screen.
2 6) Draw an ellipse filled with color at the center of the screen.
7) Divide your screen into four regions. Draw circle, rectangle, ellipse and half
ellipse in each region with appropriate message.
8) Draw pentagon filled with pattern.

1) Write a program to translate a line at given position.


2) Write a program that demonstrates the concepts of lineto() and linerel()
function.
3) Write a program to translate a rectangle.
4) Write a program to rotate a triangle with respect to origin.
3 5) Write a program to rotate a triangle with respect to reference point.
6) Write a program to scale an object given by user.
7) Write a program to reflect an object as per user’s choice.
o With respect to X axis
o With respect to Y axis

1) Write a program that moves your circle through ladder.


2) Draw a line using DDA algorithm.
4 3) Draw a line using Bresenham’s line drawing algorithm.
4) Draw the circle using midpoint circle drawing algorithm.

5 1) Write a program to fill a polygon or circle using flood fill algorithm.


2) Write a program to fill a polygon or circle using boundary fill algorithm.
3) Write a program to perform shear transformation with respect to x and y.

1) Write a program to move circle continuously, filled with color, from center
position to given position.
2) Write a program to rotate a wheel clockwise or anti clockwise as per user’s
6
choice.
3) Write a program to make simple animation.

You might also like