[go: up one dir, main page]

0% found this document useful (0 votes)
207 views13 pages

3rd DBMS MICRIPROJECT

The document describes a microproject completed by students Vaishnavi Kadam and Parvani Patil on the design of a rotating fan using computer graphics. It includes the project proposal, methodology, outputs, and evaluation sheets. The students developed a C++ program to create an animated rotating fan with variable speeds that can be changed using keyboard inputs. Through this project, the students learned basic concepts of computer graphics programming.
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)
207 views13 pages

3rd DBMS MICRIPROJECT

The document describes a microproject completed by students Vaishnavi Kadam and Parvani Patil on the design of a rotating fan using computer graphics. It includes the project proposal, methodology, outputs, and evaluation sheets. The students developed a C++ program to create an animated rotating fan with variable speeds that can be changed using keyboard inputs. Through this project, the students learned basic concepts of computer graphics programming.
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/ 13

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

SHRI H.H.J.B POLYTECHNIC COLLEGE


CHANDWAD

TITLE OF MICROPROJECT:

Design Roating Fan

SUBJECT: computer graphics.

SUBJECT CODE: 22318.

SEMISTER: 3rd.

COURSE: CM

COURSE CODE: 0079

SUBJECT TEACHER: D.B. ZAMBARE.

YEAR: 2021-2022.
Maharashtra state board of technical Education
SNJB’S S.H.H.J. BPOLYTECHNIC, CHANDWAD

Year 2020-21

CERTIFICATE

This is to certify that,


Name:
1. KADAM VAISHNAVI LALIT.
2. PATIL PARVANI DATTATRAY.

Student of first semester of Diploma in Computer Technology of institute


“S.H.H.J.B. POLYTECHNIC, CHANDWAD” has completed the Micro
project satisfactorily in subject “COMPUTER GRAPHICS”, code-22319
for the academic year 2021-22 has prescribed in the curriculum.
Place: -Chandwad
Date: -

Subject teacher Head of department Principal


TEACHING AND EVALUATION SHEET

NAME OF STUDENTS: -Vaishnavi kadam, Patil Parvani.

ENROLLMENT NO: - 2000790331,2000790344.

SUBJECT: - CGR. SUBJECT CODE: - 22318. SEMESTER: - 3rd.

TITLE OF MICROPROJECT: Design Roating Fan.

COURSE OUTCOME:
1.Understanding Coding of Graphics Software.
2.Development of rotating fan using Computer Graphics and C++ Compiler.
EVALUATION AS PER SUGGESTED RUBRIC FOR ASSESSMENT OF MICROPROJECT

SR.NO NAME OF CONTENT POOR (1-3) AVG (4-5) GOOD (6-8) EXC (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. Analysis of data and representation.
6. Quality of prototype / model.
7. Report preparation.
8. Presentation.
9. Defense.

MICROPROJECT EVALUATION SHEET

NAME OF PROJECT PROJECT PRODUCT VIVA (16) TOTAL


STUDENT PROPOSAL (8) METHAODOLO REPORT (8) MARKS
GY (8)
Kadam Vaishnavi
Patil Parvani

Name and designation of faculty member: D.B. ZAMABARE. Signature:


INDEX

SR_NO CONTENT PAGE


. NO.
1 Part A

1.0 Brief Introduction 5

1.1 Aim of Micro Project 5

1.2 Action Plan 6

1.3 Resource Required 6

2 Part B

2.1 Brief Introduction 7

2.2 Aim of Micro Project 7

2.3 Course Outcome Inte- 7


grated
2.4 Actual Procedure Fol- 8-9
lowed
2.5 Actual Resource Used 9

2.6 Outputs 10

2.7 Skill Developed 11


PART A-Plan
 Title of micro-project: - Design rotating fan
 Aim/Benefits of the Micro-Project: -

To know basic concepts of computer graphics to


know how to make program

 Course Outcomes Addressed: -

Learn to make a program in computer graphics

 Proposed Methodology: -

When the semester was started, I came to know that we have to develop a
micro – project of the subject Computer graphics and then we started searching for a
topic. After some days I selected the topic Design rotating which is totally on the basis
of computer graphics Then we started collecting data from reference books, some
websites and notes. While collecting the data we understand about different concept of
computer graphics. After that we combine all data preparing project using all material
that we have collected. But there was difficulty while preparing project and with the
help of our teacher D.B. Zambare sir it is solved. The project is successfully
developed. And by this project I learned to how to develop a Program.
 Action plan

Finalization of topic
1
2 Preparation of Abstract

3 Collection of data

4 Collection of data

5 Preparation of program

6 Preparation of program

7 Seminar / Presentation

8 Submission of Micro Project

 Resources Required

Sr. Name of Resource/Material Specification Quantity Remarks


no.
1. Computer system Dell 1 -
2. Computer graphics Book 1 -
PART B -Plan
 Title of micro-project: - Design rotating fan

 Rational: -

Computer graphics is the branch of computer science that deals with


generating images with the aid of computers. Today, computer graphics is a
core technology in digital photography, film, video game cell phone and
computer display, and many specialized application

We use graphics.h header file for graphics in C language. By using


graphics, we can. draw Lines, Circles, Rectangles (Geometrical figures) in
the program.

 Aim/Benefits of the Micro-Project: -

To know basic concepts of computer graphics to


know how to make program

 Course Outcomes Addressed: -

Learn to make a program in computer graphics

 Actual methodology followed

#include<graphics.h> //for graphics #in-


clude<stdio.h> //standard input/output
#include<string.h> //string function #in-
clude<conio.h> //console input output #in-
clude<math.h> //math calculation #define PI
3.14 //value constant pi=3.14 char speed [4];
//array declaration for speed
int theta=0,change=1,temp=0,ch;
float x,y,r=100;
void main ()
{
int gd=DETECT, gm;
initgraph (&gd, &gm,"c:\\tc\\bgi"); //path where ur BGI
file is stored
strcpy (speed,"on 1");
outtextxy(200,20,"Working Fan");
outtextxy(150,50,"Use number 0 1 2 3 to change fan
speed");
outtextxy (475,375,"Fan
Speed"); fan:
do
{
cleardevice();
outtextxy(200,20,"Working Fan");
outtextxy(150,50,"Use number 0 1 2 3 to change fan
speed");
outtextxy(475,375,"Fan Speed");
if(kbhit())
{
ch=getch();
if(ch=='0')
{
rectangle(495,395,535,410);
floodfill(515,405,15);
temp=1;
}
if(ch=='1')
{
strcpy(speed,"on 1");
change=1;
}
else if(ch=='2')
{
strcpy(speed,"on 2");
change=3;
}
else if(ch=='3')
{
strcpy(speed,"on 3");
change=18;
}
}
outtextxy(500,400,speed);
circle(320,240,(r/12));
circle(320,240,(r/6));
circle(320,240,(r/4));
x=r*(cos((PI * theta)/180));
y=r*sin((PI * theta)/180);
line(320+(x/4),240+(y/4),320+(1.6*x),230+(1.6*y));
/*draw the line for fan*/ line(320+(x/4),240+(y/
4),320+(1.6*x),250+(1.6*y));
line(320+(1.6*x),230+(1.6*y),320+(1.6*x),250+(1.6*y));
x=r*cos((PI *(theta+120))/180);
y=r*sin((PI *(theta+120))/180);
line(320+(x/4),240+(y/4),320+(1.6*x),230+(1.6*y));
line(320+(x/4),240+(y/4),320+(1.6*x),250+(1.6*y));
line(320+(1.6*x),230+(1.6*y),320+(1.6*x),250+(1.6*y));
x=r*cos((PI * (theta+240))/180);
y=r*sin((PI * (theta+240))/180);
line(320+(x/4),240+(y/4),320+(1.6*x),230+(1.6*y));
line(320+(x/4),240+(y/4),320+(1.6*x),250+(1.6*y));
line(320+(1.6*x),230+(1.6*y),320+(1.6*x),250+(1.6*y));
if(temp!=1) delay(36/change);
else
{
ch=getch();
if(ch=='\r') exit(0);
if(ch=='0') temp=1;
if(ch=='1') //for speed
{
strcpy(speed,"on 1");
temp=0;
change=1;
}
else if(ch=='2')
{
strcpy(speed,"on 2");
temp=0;
change=3;
}
else if(ch=='3')
{
strcpy(speed,"on 3");
temp=0;
change=18;
}
else
{
strcpy(speed,"off’’);
temp=1;
}
}
if(theta=
360)
theta=0;
theta++;

}
w
hi
le
(t
e
m
p
=
=
0)
;
g
o
to
fa
n;
}
Output of program:-

You might also like