A
MICRO-PROJECT REPORT
On
Computer Graphics.
By :
1.DAMINI AVINASH JAGTAP.
2.MOHINI SUNIL PATIL.
3. TEJASWINI NITIN NIKAM.
Under The Guidance of:-
Ms.Apeksha Barhate
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCTION
S.H.H.J.B POLYTECHNIC , CHANDWAD
DEPARTMENT OF COMPUTER ENGINEERING
UNIVERSITY OF MUMBAI
2022-23
CERTIFICATE
This is to certificate that
1.DAMINI AVINASH JAGTAP.
2.MOHINI SUNIL PATIL.
3.TEJASWINI NITIN NIKAM.
of 3rd semester of Diploma in Computer Technology of institute,SHHJB
POLYTECHNIC ,CHANDWAD (Code :-1104) have completed the Micro
Project satisfactorily in subject “Computer Graphics ” for the academic year
2020-2021 as prescribed in the curriculum.
Micro-Project Name:- Running Train.
Place :- Chandwad
Date :-
Subject Teacher Head of the Department Principal
Course Outcomes Achieved
1. Manipulate visual and geometric information of images.
2. Implement standard algorithms to draw various graphics object using C
3. Develop Programs for 2-D and 3-D Transforamtions
4. Use projection to visulate object on view plane
5. Implement various clipping algorithms
6. Develop programs to create curves using algorithms
Sr.no Characteristic to be Poor Average Good Excellent
assessed (Marks 1-3) (Marks 4-5) (Marks 6-8) (Marks 9-10)
1. Relevance to the course
2. Literature
Survey/Information
Collection
3. Project Proposal
4. Completion of the target
as per project proposal
5. Analiysis of data and
representation
6. Quality of Prototype /
Model
7. Report Presentation
8. Presentation
9. Defense
Evaluation as per Suggested Rubic for Assessment of Micro-project
Micro-Project Evaluation Sheet
Process Assessment Product Assessment
Part A-project Project Part B-Project Individual Total
Proposal Methodology Report / Presentation / Marks
(2 marks) (2 marks) Working Viva 10
Model (4 marks)
(2 marks)
Comments/Suggestions about team work/leadership/inter-personal communication (if any)
Any Other Comment:
Name and designation of the faculty Member
Signature
Annexure - || A
PART B
Format for Micro-Project Report
Title of Micro-Project : RUNNING TRAIN
1.0 Brief Description
Computer Graphics is the study of techiques to improve communication
between human and machine. The word Computer Graphics means pictures
graph or scene is drawn with the help of computer.The term Computer Graphics
has several meaning like the representation and manipulation of pictorial data
by a computer, the various technology use to create and manipulation such
pictorial data, the image so produced, and sub field of computer science which
studies methods for digitally synthesizing and manipulation visual content.
computers are used in many versatile fields like television, animation films
medical science, simulation fields, etc. A range og tools and facilities are
available to enable user to visualize their data, and computer graphics are
used in many disciplines. We can draw a graph which may replace that huge
table of thousand entries and allow the reader to note the relevant patterns and
and characteristics at a glance. Here computer represents the data provided to it
pictorial form. The input given by the user, often alter the output presented by
by the machine.
Application of Computer Graphics :-
Engineering/Science Software, Business Software.
T.V channel, space simulation training.
PCB designing, map prepartation.
User Interface, animation.
Making charts, image processing.
Office automation.
Desktop publishing.
CAD/CAM.
Art and commerce.
Process controlling.
“Visual Effects” in movies and computer games.
2.0 Course Outcomes Integrated
a) Manipulation visual and geometric information of images.
b) Develop program for 2D transformation.
c) Develop program using line and circle.
3.0 Course Outcomes Integrated
a) Manipulate visual and geometric information of images.
b) Develop program for 2D transformation.
c) Develop program using line and circle.
4.0 Actual Procedure Followed
ALGORITHM’
1. Start
2. Draw two lines for the track of railway using line(); Statement.
3. Draw four wheels for the train using Circle(); Statement.
4. Draw two rectangles for the trains boogie.
5. Draw three windows for train.
6. Draw one door for train.
7. Draw the engine of train.
8. Draw the two connecting lines.
9. Stop.
PROGRAM
5.0 #include<stdio.h>
6.0 #include<conio.h>
7.0 #include<graphics.h>
8.0 #include<dos.h>
9.0 void main()
10.0 {
11.0 intgd=DETECT,gm,x,X1=140,X2=275,X3=350,X4=410,X5=350;
12.0 int x1=1,y1=360,x2=1,y2=250,x3=200,y3=250,x4=200,y4=360;
13.0 int x5=215,y5=360,x6=215,y6=250,x7=300,y7=250,x8=300,y8=300,x9=410,
14.0 y9=300,x10=410,y10=360;
15.0 int x11=25,y11=280,x12=25,y12=315,x13=60,y13=315,x14=60,y14=280;
16.0 int x15=85,y15=280,x16=85,y16=315,x17=120,y17=315,x18=120,y18=280;
17.0 int x19=145,y19=360,x20=145,y20=280,x21=185,y21=280,x22=185,y22=360;
18.0 int x23=240,y23=315,x24=240,y24=280,x25=275,y25280,x26=275,y26=315;
19.0 int x27=200,x28=215,x29=330,x30=370,x31=320,x32=380;
20.0 int a[73];
21.0 initgraph(&gd,&gm,”c:\\tc\\bgi”);
22.0 for(x=60;x<500;x++)
23.0 {
24.0 a[0] =x1;
25.0 a[1] =y1;
26.0 a[2] =x2;
27.0 a[3] =y2;
28.0 a[4] =x3;
29.0 a[5] =y3;
30.0 a[6] =x4;
31.0 a[7] =y4;
32.0 a[8] = x1;
33.0 a[9] =y1;
34.0 a[10] =x5;
35.0 a[11] =y5;
36.0 a[12] =x6;
37.0 a[13] =y6;
38.0 a[14] =x7;
39.0 a[15] =y7;
40.0 a[16] =x8;
41.0 a[17] =y8;
42.0 a[18] =x9;
43.0 a[19] =y9;
44.0 a[20] =x10;
45.0 a[21] =y10;
46.0 a[22] =x5;
47.0 a[23] =y5;
48.0 a[24] =x11;
49.0 a[25] = y11;
50.0 a[26] =x12;
51.0 a[27] =x13;
52.0 a[26] =y13;
53.0 a[27] =x14;
54.0 a[28] =y14;
55.0 a[29] =x15;
56.0 a[30] =y15;
57.0 a[31] =x16;
58.0 a[32] =y16;
59.0 a[33] =x17;
60.0 a[34] =y17;
61.0 a[35] =x18;
62.0 a[36] =y18;
63.0 a[37] =x15;
64.0 a[38] =y15;
65.0 a[39] =x19;
66.0 a[40] =y19;
67.0 a[41] =x20;
68.0 a[42] =y20;
69.0 a[43] =x21;
70.0 a[44] =y21;
71.0 a[45] =x22;
72.0 a[46] =y22;
73.0 a[47] =x19;
74.0 a[48] =y19;
75.0 a[49] =x23;
76.0 a[50] =y23;
77.0 a[51] =x24;
78.0 a[52] =y24;
79.0 a[53] =x25;
80.0 a[54] =y25;
81.0 a[55] =x26;
82.0 a[56] =y26;
83.0 a[57] =x23;
84.0 a[56] =y23;
85.0 cleard evice();
89.0 drawpoly(32,a);
90.0 line(1,390,1000,390);
91.0 line(1,400.1000.400);
92.0 arc(X4,330,270,90,30);
93.0 line(x27,300,x28,300);
94.0 line(x27,315,x28,315);
95.0 line(x29,250,x29,300);
96.0 line(x30,250,x30,300);
97.0 line(x29,250,x31,230);
98.0 line(x30,250,x32,230);
99.0 arc(X5,215,210,330,33);
100.0 circle(x,375,15);
101.0 circle(X1,375,15);
102.0 circle(X2,375,15);
103.0 circle(X3,375,15);
104.0 x1++;
105.0 x2++;
106.0 x3++;
107.0 x4++;
108.0 x5++;
109.0 x6++;
110.0 x7++;
111.0 x8++;
112.0 x9++;
113.0 x10++;
114.0 x11++;
115.0 x12++;
116.0 x13++;
117.0 x14++;
118.0 x15++;
119.0 x16++;
120.0 x17++;
121.0 x18++;
122.0 x19++;
123.0 x20++;
124.0 x21++;
125.0 x22++;
126.0 x23++;
127.0 x24++;
128.0 x25++;
129.0 x26++;
13o.0 x27++;
131.0 x28++;
132.0 x29++;
133.0 x30++;
134.0 x31++;
135.0 x32++;
136.0 x1++;
137.0 x2++;
138.0 x3++;
139.0 x4++;
140.0 x5++;
141.0 delay(5);
142.0 }
143.0 getch();
144.0 }
5.0 Actual Resources Used .
Sr,No Name of resources/material
1 “Computer Graphics” by Baker & Hearn
2 www.youtube.com
3 https://www.tutorial.com/computer graphics
4 Computer system
5 Turbo C software
6.0 Output of the Micro Project.