A Practical File on
COMPUTER GRAPHICS (BCA 351)
Bachelor of Computer Applications (BCA)
Guru Gobind Singh Indraprastha University, Delhi
Submitted To: Submitted By:
Dr.Sandhya Maitra Student’s Name:
(Associate Professor) Enrolment. No.:
Batch: 2020-2023
Institute of Information Technology & Management
New Delhi – 110058
INDEX
S.No Problem Statement Date Sign
INDEX
WAP to Display Coordinate Axes.
1.
2. WAP to Display a string “Hello User” in the centre of the screen using Outtextxy()
function.
WAP to Display an asterisk inside a circle.
3.
WAP to Display nested circles.
4.
WAP to Display nested rectangles.
5.
WAP to Display WELL.
6.
WAP to Display Teddy Bear.
7.
8. WAP to Display different Colorful Shapes.
9. Display a string “COMPUTER GRAPHICS” using functions like circle,
arc and lines.
10. Write a program to display HUT.
11. WAP to make a expanding spiral bounded by screen.
12. Make flying Indian flag.
Make flying colored balloons.
13.
Write a program to show ticking of the clock.
14.
WAP to display a rotating fan.
15.
Write a program to show the car movement.
16.
17. WAP to Scan convert circle using DDA Line drawing Algorithm.
WAP to Scan convert circle using Bresenham’s Line drawing Algorithm.
18.
WAP to Scan convert circle using Bresenham’s Circle drawing Algorithm.
19.
WAP to Scan convert circle using Mid-point Circle drawing Algorithm.
20.
WAP to Scan convert circle using Trigonometric method.
21.
WAP to Scan convert circle using Polynomial method.
22.
WAP to Scan convert ellipse using Mid-point ellipse drawing Algorithm.
23.
WAP to get the Translation vector from the user and translate the triangle accordingly.
24.
WAP to get the Rotation angle from the user and rotate the triangle accordingly.
25.
WAP to get the Scaling factors from the user and scale the triangle accordingly.
26.
WAP to get the Shearing factors from the user and perform a shearing transformation on a
27.
rectangle.
WAP to Perform fixed point Scaling.
28.
29. WAP to Perform fixed point Rotation.
INDEX
WAP to Perform the Reflection of a triangle about an arbitrary line.
30.
WAP to Implement Cohen and Sutherland line clipping algorithm.
31.
WAP to Implement Mid Point Subdivision Algorithm for line clipping.
32.
WAP to Perform Window-to-View port transformation
33.
WAP to Implement Cubic Bezier Curve.
34.
WAP to Perform two transformations in succession on same object.
35.
WAP to rotate a circle (alternately inside and outside) around the circumference of
36. another circle.
Write program to burst the balloon as it grows to a particular size.
37.
Write a program to show the movement of the pendulum.
38.
Revolve a coin on a table.
39.
Write a program to fill the bucket from the pipe.
40.