CGR Micro Project

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

A

MICRO PROJECT REPORT

ON

FLYING BIRD
SUBMITTED BY

GAURAV KESHAV NAGDEVE

SECOND YEAR COMPUTER DEPARTMENT

UNDER THE GUIDANCE OF

PROF. RIYA I. WAGASKAR

IN PARTIAL FULFILLMENT FOR AWARD OF

DIPLOMA IN ENGINEERING

COMPUTER ENGINEERING (2023-2024)


GES ‘S KATGARA POLYTECHNIC INSTITUTE OF BORDI

DEPARTMENT OF FEE

THIS IS TO CERTIFY

THAT

GAURAV KESHAV NAGDEVE


SATISFACTORILY COMPLETED PROJECT ENTITLED

FLYING BIRD

AS A PART OF SYLLABUS OF

MAHARASHTRA STATE BOARD OF TECHNICAL

EDUCATION

FOR THE PARTIAL FULLFILLMENT FOR THE AWARD OF

DIPLOMA IN ENGINEERING

COMPUTER ENGINEERING
PROF. RIYA I. WAGASKAR PROF. ISHAN
WAGASKAR

(GUIDE) (H.O.D)

INTRODUCTION :

Birds fly by flapping their wings, steering mainly with their tails.
Compared to the parts of an airplane, a bird’s wing acts as both wing
and propeller. The basal part of the wing supplies most of the
supporting surface, the wing tip most of the propelling force. A bird’s
wing has many adjustable features: it can be shortened or lengthened by
flexion; the feathers of the tip can be spread or closed; the angle of the
whole wing or its parts—on one side or both—can be altered.
All of these adjustments make the aerodynamics of a bird’s wing much
more complicated than those of the airplane; consequently, the flight of
a bird is much more varied and adaptable.

PROGRAM:
#include <conio.h>
#include <dos.h>
#include <graphics.h>
#include <iostream.h>

// Wings void
handDown(int i)
{
line(85 + i, 155, 45 + i, 185);
line(85 + i, 155, 115 + i, 195);
arc(90 + i, 130, 228, 292, 70);
}

void handUp(int i)
{
line(85 + i, 155, 125 + i, 115);
line(85 + i, 155, 55 + i, 118);
arc(90 + i, 177, 60, 122, 70);
}

// Driver code
void main()
{
int gd = DETECT, gm;

// Path of the BGI folder initgraph(&gd,


&gm, "C:\\TURBOC3\\BGI"); int i = 0;

for (i = 0; i < 400; i++) { //


Body circle(150 + i, 150,
20); arc(90 + i, 190, 50,
145, 60);
arc(87 + i, 117, 220, 320, 60);

// Beak
line(170 + i, 147, 180 + i, 153);
line(180 + i, 153, 170 + i, 156);
// Eye circle(162 + i,
150, 2);

// Tail line(10 + i, 155, 40 +


i, 155); line(10 + i, 145, 40
+ i, 155); line(10 + i, 165,
40 + i, 155);

// Move hands
if (i % 2 == 0)
handUp(i);
else
handDown(i);

// Stop the screen for 10 secs


delay(10);

// Clear the screen


}
cleardevice();

getch();

// Close the graph closegraph();


}

OUTPUT:

You might also like