You are on page 1of 21

MAHARASHTRA STATE BOARD OF TECHNICAL

EDUCATION

NAVJEEVAN EDUCATION SOCIETY’S POLYTECHNIC

MICRO PROJECT

Academic year: 2020-21

TITLE OF MICRO PROJECT

Hoisting Indian Flag Using Helicopter

Program : Computer Engineering.


Program code: CO3I
Course : Computer graphics.
Course code : 22318
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
Certificate
This is to certify that Mr.Pranav Bhupendra Chaudhari (1219),
of 3rd Semester of Diploma in Computer Engineerging of Institute,
Navjeevan Education Society's polytechnic Bhandup: (Code:0144)
has completed the Micro Project satisfactorily in Subject:
Computer graphics (22318) for the academic year 2020- 2021 as
prescribed in the curriculum.

Place: Bhandup. Enrollment no:- 1901440178

Date:- _ Exam Seat no:-

Subject Teacher Head of the Department Principal


GROUP DETAILS

SR. Name of Group Roll no Enrollment No Seat no


NO Members
1. Pranav B. Chaudhari 1219 1901440178
2 Siddhesh J.Haryan. 1230 1901440189

3 Nikhil A.Belge 1234 1901440193

HELPED AND GUIDED BY


Mrs.Yamuna Yamgar.
“Hoisting India Flag Using Helicopter”

 Aims/Benefits of the Micro-Project :

The students will demonstrate the transformation of information into creative,


conceptually appropriate design solutions using industry-standard production
software and hardware.

 Course Outcomes Addressed :

1. Manipulate visual and geometric information of images.


2. Develop a program for 2-D And 3-D Transformation.
3. Implement standard algorithms to draw various graphics objects using C
program.
4. Use projections to visualize objects on view plane.

 Resources Required :

SR Name Of Specifications Qty


NO Resources/
material
1 Computer Operating System: 1
System Windows 7 or higher.
Memory: 8GB RAM.
Processor: Core i3.
HDD: 500GB
2 Software Turbo C++ -
 Weekly Progress Report(Action Plan) Micro-Project:-

Topic: Hoisting Indian Flag Using Helicopter.


Academic Year: 2020-21 Name of Faculty: Mrs.Yamuna Yamgar.
Program Code: Computer engineering (CO3I).
Course & Course Code: Computer graphics (22318).
Roll No:1219,1230,1234. Enrollment No:1901440178,1901440189,1901440193.

Semester: III Name of Candidate: Pranav B. Chaudhari.


Siddhesh J. Haryan.
Nikhil A. Belge.

SR Week Activity of Performed Planned start Planned Finish Name of Responsible


Date Date Team member
NO.

1. 1st Discussion and finalization of 20/07/20 20/07/20 All team members


topic

2. 2nd Preparation and submission of 27/07/20 10/08/20 All team members


Abstract

3. 3th Collection of Data 03/09/20 10/09/20 All team members

4. 4th Implementation 17/09/20 24/09/20 All team members

5. 5th Check, Validation and Execution 08/10/20 15/10/20 All team members
of code

6. 6th Compilation of Report And 22/10/20 29/10/20 All team members


Presentation

7. 7th Actual Presentation & Final 12/11/20 26/11/20 All team members
submission of Micro Project

Sign of the Student:-

1)

2)

3)
_
Sign of the Faculty
INDEX

Topic: Hoisting Indian Flag Using Helicopter.


Academic Year: 2020-21. Name of Faculty: Mrs.Yamuna Yamgar.
Program Code: Computer engineering (CO3I).
Course & Course Code: Computer graphics (22318).
Roll No:1219,1230,1234. EnrollmentNo:1901440178,1901440189,1901440193.
Semester: III Name of Candidate: Pranav B. Chaudhari.
Siddhesh J. Haryan.
Nikhil A. Belge.

SR.NO CONTENT PAGE NO

1. Brief introduction 01

2. Aims of micro-project 01

3. Course Outcomes integrated 01

4. Actual Procedure Followed 02

5. Skill Developed/Learning out of this 02


Micro-Project

6. Implementation and Result 05,06,07,08,09,10,


11,12,13
7. Conclusion 13
8. Softcopy of Micro-project 14
9. Teacher Evaluation Sheet/ Annexure II 15
“Hoisting Indian Flag Using Helicopter”

 Brief introduction :

Computer graphics is responsible for displaying art and image data


effectively and meaningfully to the consumer. It is also used for processing
image data received from the physical world. Computer graphics development
has had a significant impact on many types of media and has revolutionized
animation, movies, advertising, video games, and graphic design in general.
In this micro-project we successfully create Hoisting Indian Flag Using
Helicopter With Computer graphics methodology.

 Aims of micro-project :
 The students will demonstrate the transformation of information into
creative, conceptually appropriate design solutions using industry standard
production software and hardware.
 The students will prepare a graphic design portfolio of work that clearly
demonstrates their effectiveness as visual communicators.
 The students will demonstrate the development of a personal, research-
based design process.

 Course Outcomes integrated :

 Manipulate visual and geometric information of images.


 Develop a program for 2-D And 3-D Transformation.
 Implement standard algorithms todraw various graphics objects
using C program.
 Use projections to visualize objects on view plane.

1
 Actual Procedure Followed :

 Grab the idea for the project along with its requirements .Plan the project
roughly .
 Discuss about the entries provided for the user in the project .Start to build
the project i.e. application/system with the small parts of it .
 Import the proper packages needed for the project.
 Store the data or matter of the project in the file , also retrieve it .Thus ,the
project is made successfully .

 Skill Developed/Learning out of this Micro-Project :-

 Computer graphics is responsible for displaying art and image data


effectively and meaningfully to the consumer.
 It is also used for processing image data received from the physical world.
 Records Handling.

2
Hoisting Indian Flag Using Helicopter
1. Brief Description:-

Graphics is defined as any sketch or a drawing or a special network that pictorially


represents some meaningful information. Computer Graphics is used where a set of image
needs to be manipulated or the creation of the image in the form of pixels and is drawn on
the computer. Computer Graphics can be used in digital photography, film, entertainment,
electronic gadgets and all other core technologies which are required. It is a vast subject and
area in the field of computer science. Computer Graphics can be used in UI design,
rendering, geometric object, animation and many more. In most area, computer graphics is
an abbreviation of CG. There are several tools used for implementation of Computer
Graphics. The basic is the <graphics.h> header file in Turbo-C, Unity for advanced and
even OpenGL can be used for it’s Implementation. It was invented in 1960 by great
researchers Verne Hudson and William Fetter from Boeing.

2. Aim of the Micro-Project :-


 The students will demonstrate the transformation of information into creative,
conceptually appropriate design solutions using industry standard production software
and hardware.
 The students will prepare a graphic design portfolio of work that clearly demonstrates
their effectiveness as visual communicators.
 The students will demonstrate the development of a personal, research-based design
process.

3. Course Outcomes Integrated :-

 Manipulate visual and geometric information of images.


 Develop a program for 2-D And 3-D Transformation. 
 Implement standard algorithmsto draw various graphics objects using C program.
 Use projections to visualize objects on view plane.

4. Actual Procedure Followed :-

 Grab the idea for the project along with its requirements .Plan the project roughly .
 Discuss about the entries provided for the user in the project .Start to build the project
i.e. application/system with the small parts of it .
 Import the proper packages needed for the project.
 Store the data or matter of the project in the file, also retrieve it .Thus ,the project is
made successfully .

3
5. Actual Resources Used :-

S.NO Name Of Specifications Qty


Resources/material
1 Computer System Operating System: Windows 7 or 1
higher.
Memory: 8 GB RAM.
Processor: Core i3.
HDD: 500GB or Larger.
2 Software Turbo C++ -

6. Skill Developed/Learning out of this Micro-Project :-

 Computer graphics is responsible for displaying art and image data


effectively and meaningfully to the consumer.
 It is also used for processing image data received from the physical world.
 Records Handling.

4
7. Implementation and Result :-

 Following Are the Graphics methods :-

Header files:
 #include<stdio.h> :- Is the file to be included in our program so that we can use
built-in functions in our program. These built-in functions are only declared in such
header files and not defined. A part from method or class declarations, header files also
contain predefined macros, data type definitions, etc.

 #include<conio.h>:- Is a C header file used mostly by MS-DOS compilers to


provide console input/output. It is not part of the C standard library or ISO C, nor is it
defined by POSIX. This header declares several useful library functions for performing
"console input and output" from a program.

 #include<Dos.h> :- Dos.h header file of C language contains functions for handling


interrupts, producing sound, date and time functions etc. It is Borland specific and
works in Turbo C compiler. EX. Delay, Getdate, Gettime, Setdate, Sound, etc.

 #inlcude<graphics.h>:- C graphics using graphics.h functions or WinBGIM


(Windows 7) can be used to draw different shapes, display text in different fonts,
change colors and many more. Using functions of graphics.h in Turbo C compiler you
can make graphics programs, animations, projects, and games. You can draw circles,
lines, rectangles, bars and many other geometrical figures. You can change their colors
using the available functions and fill them. Following is a list of functions of graphics.h
header file. Every function is discussed with the arguments it needs, its description,
possible errors while using that function and a sample C graphics program with its
output.

Graphic Drivers:
 initgraph(&gd,&gm,"c:\\turboc3\\bgi"):- initgraph initializes the graphics
system by loading a graphics driver from disk (or validating a registered driver), and
putting the system into graphics mode .To start the graphics system, first call the
initgraph function. initgraph loads the graphics driver and puts the e system into
graphics mode.

5
1. Main function: The main function serves as the starting point for program execution.
It usually controls program execution by directing the calls to other functions in the
program. A program usually stops executing at the end of main, although it can
terminate at other points in the program for a variety of reasons.
2. For loop : A for loop is a repetition control structure which allows us to write a loop
that is executed a specific number of times. The loop enables us to perform n number of
steps together in one line.

Graphic mode functions:

Graphic functions: //For create helicopter and Flag and for run the code.

 Ellipse() :

Declarations of ellipse function :-

void ellipse(int x, int y, int stangle, int endangle, int xradius, int yradius);

Ellipse is used to draw an ellipse (x,y) are coordinates of center of the ellipse, stangle is
the starting angle, end angle is the ending angle, and fifth and sixth parameters specifies
the X and Y radius of the ellipse. To draw a complete ellipse strangles and end angle
should be 0 and 360 respectively.

 Line() :

Declaration of line Function :-

void line(int x1, int y1, int x2, int y2);

line function is used to draw a line from a point(x1,y1) to point(x2,y2) i.e. (x1,y1) and
(x2,y2) are end points of the line.

 Pieslice() :

Declaration of pieslice Function :-

void pieslice(int x, int y, int stangle, int endangle, int radius);

pieslice draws and fills a pie slice with center at (x, y) and given radius r. The slice
travels from s_angle to e_angle which are starting and ending angles for the pie slice. The
angles for pie-slice are given in degrees and are measured counterclockwise.
06
 bar() :

Declaration of bar Function :-

void bar(int left, int top, int right, int bottom);

The header file graphics.h contains bar() function which is used to draw a 2-dimensional,
rectangular filled in bar.

 Circle() :

Declaration of circle function :-

void circle(int x, int y, int radius);

Circle function is used to draw a circle with center (x,y) and third parameter specifies
the radius of the circle.

 setfillstyle() :-

Declaration of setfillstyle function :-

void setfillstyle(int pattern, int color);

The header file graphics.h contains setfillstyle() function which sets the current fill
pattern and fill color.

 floodfill() :-

Declaration of floodfill function :-

void floodfill(int x, int y, int border_color);

floodfill() function is used to fill an enclosed area. Current fill pattern and fill color is
used to fill the area.

7
 Setcolor ():-

Declaration of setcolor function :-

void setcolor(int color);

In Turbo Graphics each color is assigned a number. Total 16 colors are available.
Strictly speaking number of available colors depends on current graphics mode and
driver.
For Example :- BLACK is assigned 0, RED is assigned 4 etc. setcolor function is used
to change the current drawing color.e.g. setcolor(RED) or setcolor(4) changes the
current drawing color to RED. Remember that default drawing color is WHITE.
 Dely():-

Declaration of setcolor function :-


void delay(unsigned int);
delay function is used to suspend execution of a program for a particular time.

 Cleardevice() :-

Declaration of cleardevice() function :-


void cleardevice();
cleardevice function clears the screen in graphics mode and sets the current position to (0,0).
Clearing the screen consists of filling the screen with current background color.

 Closegraph() :-

Declaration of cleardevice() function :-


void closegraph();
The header file graphics.h contains closegraph() function which closes the graphics mode,
deallocates all memory allocated by graphics system and restores the screen to the mode it
was in before you called initgraph.

8
Algorithm :

 Step 01 : Start

 Step 02 : Initialize graphic’s mode and function.

 Step 03 : Declare the graphics functions for draw Helicopter and for
adding text. This process work inside the main function.

 Step 04 : Apply the translation on created Object.

 Step 05 : (set i=1) inside the for loop and ( i ) is increment upto (i<=500).

 Step 06 :Using step 05’s condition the movement or translation is


happened when the i’s value is change; In Other words when i’s value is
increase(Change)the position of Object is Also change.

 Step 07 : When the ( i ) incrementing and the ( i ) value is became


(i=500); then the movement/translation of object is stop.

 Step 08: Stop.

09
Flowchart :

Start

Int gd=DETECT,gm,i,j,x,y;
Initgraph(&gd,&gm,“ ”);

For(i=1;i<=500,i++)

Declare Graphics Functions for text and Making Helicopter

//Text
rectangle(int left, int top, int right, int bottom); //For Border
outtextxy(int x, int y, char *string);
outtextxy(int x, int y, char *string);
outtextxy(int x, int y, char *string);
outtextxy(int x, int y, char *string);
outtextxy(int x, int y, char *string);

//Head of Helicopter
ellipse(int x+i, int y, int stangle, int endangle, int xradius, int yradius);
//Up down line

line(int x1+i, int y1, int x2+i, int y2);


line(int x1+i, int y1, int x2+i, int y2);

10
//Back head of helicopter

ellipse(int x+i, int y, int stangle, int endangle, int xradius, int yradius);
ellipse(int x+i, int y, int stangle, int endangle, int xradius, int yradius);
//Back line

line(int x1+i, int y1, int x2+i, int y2);


line(int x1+i, int y1, int x2+1, int y2);
//back Fan

pieslice(int x+i, int y, int stangle+i, int endangle+i,int radius);


pieslice(int x+i, int y, int stangle+i, int endangle+i,int radius);
pieslice(int x+i, int y, int stangle+i, int endangle+i,int radius);
pieslice(int x+i, int y, int stangle+i, int endangle+i,int radius);
//Down Stand
line(int x1+i, int y1, int x2+i, int y2);
line(int x1+i, int y1, int x2+i, int y2);
line(int x1+i, int y1, int x2+i, int y2);
//Up line(Fan)

line(int x1+i, int y1, int x2+i, int y2);


line(int x1+i, int y1, int x2+i, int y2);

//middle line

line(int x1+i, int y1, int x2+i, int y2);


line(int x1+i, int y1, int x2+i, int y2);
setcolor(13);
line(int x1+i, int y1, int x2+i, int y2);
line(int x1+i, int y1, int x2+i, int y2);

Delay(150)

Stop

11
12
Conclusion :-

Using Computer Graphics Methods We Successfully perform Translation


on created object. Also Computer Graphics is responsible for displaying art
and image data effectively and meaningfully to the Consumer. Using
Computer graphics we can create fine and commercial art which include
animation packages, paints packages. These package provides facilities for
designing object shapes and specifying object motion.

13
Softcopy of Micro-project

14
Micro Project Evaluation Sheet

Name of Student: Pranav B. Chaudhari. Enrollment No : 1901440178.


Name of Programme : Computer Engineering. Semester : III.
Course Title: Computer Graphics (22318).
Title of Micro Project : Hoisting Indian flag using helicopter.
Course Outcomes Achieved :
 Manipulate visual and geometric information of images.
 Develop a program for 2-D And 3-D Transformation.
 Implement standard algorithms to draw various graphics objects using C
program.
Sr.n Charateristic to Poor Average Good Excellent Sub
o be assessed (Marks 1-3) (Marks 4 - 5) (Marks 6-8 ) (Marks 9-10) Total
(A)Process and Product Assessment(Convert above total marks out of 6 marks.)
1. Relevance to the
Course
2. Literature
Review/information
collection
3. Completion of the
target as per project
Proposal
4. Analysis of data and
representation
5. Quality of
Prototype/Model
6. Report Preparation.
(B) Individual Presentation/Viva (Convert above marks Total Marks out of 4)
7. Presentation
8. Viva

(A) (B) Total Marks 10


Process and Product Individual
Assessment (6 marks) Presentation/Viva(4 marks)

Comments/Suggestions about team work leadership/inter-personal communication

Name and designation of the Teacher : - Mrs.Yamuna Yamgar .

Dated Signature

15

You might also like