CGR Micro
CGR Micro
CGR Micro
SYCO-A
SEMESTER 3 (2023-2024)
SUBJECT: COMPUTER GRAPHICS
GROUP-8
THANK YOU!
INDEX
Micro-project Proposal
Topic: C program to create a ‘FLYING AEROPLANE’
1.0)
Aim/Benefits of the Project-
Micro-Project can also help students to develop skills specific to
collaborative efforts, allowing students to tackle more complex problems then
they could do on their own.
❖ Delegate the roles and responsibilities.
❖ Collect relevant information about creating a C code to make a ‘FLYING
AEROPLANE’ from different sources.
❖ Analyze the collected data and generate useful information from it.
❖ Develop additional skills integral to the future, such as critical thinking and
time management.
WINDMILL
1.0.
Rationale:
The use of computer graphics in the design and creation of flying airplanes is a
cornerstone of modern aviation engineering. Computer graphics allow engineers
and designers to visualize complex aerodynamics, simulate flight performance,
and optimize airplane structures before physical prototypes are built. This
capability reduces the time, cost, and risks involved in airplane development
while ensuring precision and innovation. computer graphics are integral to the
process of making flying airplanes. They enhance visualization, precision, and
efficiency, driving innovation while ensuring safety and performance standards
are met. This technology continues to revolutionize aviation design and
production, enabling the creation of advanced and efficient aircraft. C is a
general-purpose, procedural, high-level programming language used in the
development of computer software and applications, system programming,
games, web development, and more. C language was developed by Dennis M.
Ritchie at the Bell Telephone Laboratories in 1972. It is a powerful and flexible
language which was first developed for the programming of the UNIX operating
System. C is one of the most widely used programming language. C
programming language is known for its simplicity and efficiency. It is the best
choice to start with programming as it gives you a foundational understanding of
programming.
#include<conio.h>
#include<dos.h>
#include<stdlib.h>
#include<graphics.h>
void main()
int gd=DETECT,gm;
int i;
initgraph(&gd, &gm, "C:\\Turboc3\\BGI");
for(i=0;i<550;i++)
//body
setcolor(10);
rectangle(150+i,100,170+i,130);
ellipse(150+i,115,90,270,127,15);
ellipse(116+i,104,10,170,24,12);
// wing
setcolor(14);
line(120+i,120,70+i,166);
line(90+i,120,60+i,160);
ellipse(77+i,160,180,250,16,8);
line(120+i,93,89+i,62);
line(96+i,101,76+i,62);
line(76+i,63,89+i,63);
//tail
setcolor(11);
line(30+i,80,50+i,110);
line(10+i,85,30+i,120);
line(10+i,85,30+i,80);
setcolor(14);
rectangle(170+i,110,175+i,120);
setcolor(14);
settextstyle(7,0,2);
outtextxy(200,400,"-:-GROUP 8 -:-");
if(i%2==0)
setcolor(11);
ellipse(178+i,94,0,360,3,18);
else
setcolor(11);
ellipse(178+i,136,0,360,3,18);
delay(30);
cleardevice();
}
getch();
closegraph();
}
Output of code:
8.0. Skill Developed/ Learning outcome of the Micro Project:
In the complete duration of the micro project, each member of the team member
has learned many skills such as:
❖ Collaboration: We developed our collaboration skills and the ability to work
effectively with each other towards a common goal.
❖ Project Management: We learned how to manage our time effectively and divide
tasks among our team members.
❖ Technical Knowledge: We gained a good understanding of C language.
❖
Problem-solving: We learned how to troubleshoot and solve technical problems
that arose during the project, which helped us develop our problem-solving
skills and the ability to think critically.