JSPM’s
JAYAWANTRAO SAWANT POLYTECHNIC,
Handewadi Road, Hadapsar, Pune-28
Department of Computer Engineering
Academic Year 2022-23
MICRO PROJECT TITLE
OF THE PROJECT
INDIAN FLAG WAVING
Program: CO
Program code: CO3I
Course: COMPUTER GRAPHICS
Course code: 22318
Class: SYCO3 Group No: N
Project Guide:
1
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
Certificate
This is to certify that Mr. Prathamesh Patil,Advait,Viraj,Vaibhav
Roll No. 171,141,165,205 of III Semester of Diploma in Computer
Engineering of Institute JAYAWANTRAO SAWANT POLYTECHNIC
(Code:
0711) has completed the Micro Project satisfactorily in Subject COMPUTER
GRAPHICS (22318) for the academic year 2022- 2023 as prescribed in the
curriculum.
Place: Hadapsar, Pune. Enrollment No:
Date: ……………. Exam
Seat No: ……………….
………………………………..
2
Subject Teacher Head of the Department Principal
MICRO PROJECT
GROUP DETAILS
Sr No. Roll Name Enrollment
No. No.
1 194 Prathamesh Patil 2107110466
2 196 Viraj Pawar
2107110456
3 192 Advait Bhosale 2107110384
4 169 Vaibhav Panchal 2107110173
3
INDEX
Sr No. Content Page No.
1 Certificate 1
2 Group Details 2
3 Index 3
4 Annexure 1 4
5 Program Code 5
6 Output of the program 6
7 7
Annexure 2
8 9
Annexure 3(Teachers Evaluation Sheet)
PROGRAM :
#include<stdio.h>
#include<conio.h>
4
#include<graphics.h>
#include<math.h>
#include<dos.h>
void dda(float x1,float y1,float x2,float y2,int z)
float dx,dy,x=x1,y=y1,m;
int i;
dx=x2-x1;
dy=y2-y1;
if(abs(dx)>=abs(dy))
m=abs(dx);
else m=abs(dy);
putpixel((int)x,(int)y,z);
for(i=1;i<=m;i++)
x=x+dx/m;
y=y+dy/m;
putpixel((int)x,(int)y,z);
5
}
void main()
float l1=250,l2=350,l3=50,l4=80,l5=120,l6=150,i,i1,i2,i3,b,a1,a2,a3,e;
int gd=DETECT,gm=DETECT;
initgraph(&gd,&gm,"");
printf(" Algorithm DDA");
a1=(l2-l1)/3;
a2=(l2-l1)/2;
a3=(l5-l4)/2;
i1=l1+a1;
i2=i1-l1;
i3=i1+i2;
setbkcolor(0);
while(!kbhit())
{ i=1;
e=0;
6
while(((i<=i1)||(i<=i3)||(i<=l2))&&(i<=8))
circle(245,47,4);
dda(240,50,240,350,8);
dda(250,50,250,350,8);
dda(350,50-i,350,150-i,7);
outtextxy(getmaxx()-150,(((getmaxy()/2)-50)+(10*i)),"JAIHIND !!!!");
outtextxy(getmaxx()-170,getmaxy()-40,"DONE BY TWG ARMY");
setfillstyle(11,3);
fillellipse(l1+a2,l4+a3-i,13,13-e);
dda(l1,l3,i1,l3-i,6);
dda(l1,l4,i1,l4-i,15);
dda(l1,l5,i1,l5-i,15);
dda(l1,l6,i1,l6-i,2);
dda(i1,l3-i,i3,l3,6);
dda(i1,l4-i,i3,l4,15);
dda(i1,l5-i,i3,l5,15);
dda(i1,l6-i,i3,l6,2);
dda(i3,l3,l2,l3-i,6);
dda(i3,l4,l2,l4-i,15);
7
dda(i3,l5,l2,l5-i,15);
dda(i3,l6,l2,l6-i,2);
bar3d(l1-50, 355, l1+50,350+55, 10, 3);
i=i+1;
e=e+0.25;
delay(200);
cleardevice();
i=8;
b=0;
while(((i<=i1)||(i<=i3)||(i<=l1))&&(i>=1))
circle(245,47,4);
dda(240,50,240,350,8);
dda(250,50,250,350,8);
dda(350,50-i,350,150-i,7);
outtextxy(getmaxx()-150,(((getmaxy()/2))-50+(10*i)),"JAIHIND !!!!");
outtextxy(getmaxx()-170,getmaxy()-40,"DONE BY GROUP N");
setfillstyle(11,4);
fillellipse(l1+a2,l4+a3-i,13,13-e);
8
dda(l1,l3,i1,l3-i,6);
dda(l1,l4,i1,l4-i,15);
dda(l1,l5,i1,l5-i,15);
dda(l1,l6,i1,l6-i,2);
dda(i1,l3-i,i3,l3,6);
dda(i1,l4-i,i3,l4,15);
dda(i1,l5-i,i3,l5,15);
dda(i1,l6-i,i3,l6,2);
dda(i3,l3,l2,l3-i,6);
dda(i3,l4,l2,l4-i,15);
dda(i3,l5,l2,l5-i,15);
dda(i3,l6,l2,l6-i,2);
bar3d(l1-50, 355, l1+50,350+55, 10, 3);
i=i-1;
e=e-0.25;
delay(200);
cleardevice();
}}
getch();
9
OUTPUT :
10
********
Teacher Evaluation Sheet
12
Name of student: Prathamesh Patil Enrollment No: 2107110466
Name of programme: Computer Engineering. Semester: III Course Title:-COMPUTER
GRAPHICS.
Code: 22318
Title of Micro Project:
Course Outcomes Achieved:
Evaluation as per suggested Rubric for Assessment of Micro Project
13
Teacher Evaluation Sheet
Sr. Characteristic to be Poor Average Good Excellent
No assessed (Marks1- (Marks 4-5) (Marks6-8) (Marks 9-10)
3)
1 Relevance to the course
2 Literature Survey /
Information collection
3 Project Proposal
4 Completion of the Target as
per Project Proposal
5 Analysis of data and
representation
6 Quality of Prototype/ Model
7 Report preparation
8 Presentation
9 Defense
14
Name of student: Viraj Pawar Enrollment No: 2107110456
Name of programme: Computer Engineering. Semester: III Course Title:
…..COMPUTER GRAPHICS.
Code:22318 Title of Micro Project:
Course Outcomes Achieved:
1) Develop C++ programs to solve problems using Procedure Oriented Approach.
Evaluation as per suggested Rubric for Assessment of Micro Project
15
Teacher Evaluation Sheet
Sr. Characteristic to be Poor Average Good Excellent
No assessed (Marks1- (Marks 4-5) (Marks6-8) (Marks 9-10)
3)
1 Relevance to the course
2 Literature Survey /
Information collection
3 Project Proposal
4 Completion of the Target as
per Project Proposal
5 Analysis of data and
representation
6 Quality of Prototype/ Model
7 Report preparation
8 Presentation
9 Defense
16
Name of student: Advait Bhosale Enrollment No: 2107110384
Name of programme: Computer Engineering. Semester: III
Course Title: COMPUTER GRAPHICS.
Code: 22318
Title of Micro Project:
Course Outcomes Achieved:
1.
Evaluation as per suggested Rubric for Assessment of Micro Project
17
Teacher Evaluation Sheet
Sr. Characteristic to be Poor Average Good Excellent
No assessed (Marks1- (Marks 4-5) (Marks6-8) (Marks 9-10)
3)
1 Relevance to the course
2 Literature Survey /
Information collection
3 Project Proposal
4 Completion of the Target as
per Project Proposal
5 Analysis of data and
representation
6 Quality of Prototype/ Model
7 Report preparation
8 Presentation
9 Defense
18
Name of student:Vaibhav Panchal Enrollment No: 2107110173
Name of programme: Computer Engineering. Semester: III Course Title:
COMPUTER GRAPHICS.
Code: 22318 Title
Course Outcomes Achieved:
Evaluation as per suggested Rubric for Assessment of Micro Project
19
Micro Project Evaluation Sheet
Process Assessment Product Assessment Total
Marks 10
Part A - Project Project Par B - Project Individual
Proposal Methodology Report/ working Presentation/ Viva
(2 Marks) Model (4 Marks)
(2 Marks)
(2 Marks)
20
Note: Every course teacher is expected to assign marks for group evaluation in first 3 columns
and individual evaluation 4th column
Comment/ suggestion about team work/leadership/ interpersonal communication (If any)
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
……………………………………
…………………………………………………………………………………………………
…………………………………………
Any other comment:
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
………………………………….
Name and Designation of the Faculty Member: MISS NAYAN
Signature: ………………………
21