You are on page 1of 8

Anjuman polytechnic, Nagpur

Micro project report


On
Moving car
Submitted by
 Hemant Thawani (16)
 Kedar pimpale(17)
 Lawanya maghade (18)
Under the supervision of
Mr. Anwar Ahsan
Lecturer
For the subject:
COMPUTER GRAPHIC
IN THE ACADEMIC YEAR 2022-2023
Annexure-1
Micro project proposal
1: Aim/benefit of the micro project
In this program, we will first draw a car and color it. In every iteration of
Ans:
for loop we keep on increasing the x coordinates of every point of car to make
it look like this car is moving from left to right.

2: Course outcome addressed


 delay (n): This function is used for holding the program output for a small
period of time since processing is very fast so use it to see the result.
 Set color (n): A function from graphics.h header file which set the color of
the pointer (cursor). There are some predefined colors in computer graphics.
Here n is color number.
 Line(x1, y1, x2, y2): A function from graphics.h header file which draw a line
with (x1, y1) as first coordinate of line and (x2, y2) as second coordinate of
the line.
 Circle(x, y, r): A function from graphics.h header file which draw a circle
with center (x, y) and radius r.

3: proposed methodology

First I have discussed for my micro-project required resources.

Then I have collected required information’s from many of websites, Books and from
internet about recursion concept in C Language.

After this I have created my animation code of


Using graphics related functions in TURBO-Compiler.

Then I have tested my program code in TURBO C Compiler for checking my program code
giving me expected output or not!

So if tested ok then program is fully functional, ready for use and demonstration.


After testing work of animation programs I have created a report to present my animation
program about how I used the graphics related concepts to make animation of C language.

After completing this report we have submitted it to our guidance.

4: Action plan

Sr. Plan start Plan finish Name of responsible


Detail of activity
No. date date team members

discuss the project with the  project


1
guide  

download Intel oneAPI DPC++/C++


2
Compiler

collect information from the


3
reference book

4 write c++ code and compile it.

Prepare a report on it using MS


5
word

6 print micro project

5: resourced used
Roll no Name of team member
2 Saniya tembhurne
56 Tuba Naaz
57 Mariya fatema

Rationale
 I have created this micro-project or moving animation to understand the concept of computer
graphics. For this I’m used main Header File as per computer graphics related programs and
conditions.

 What is graphics? 2D graphics come in two flavors — raster and vector. Raster graphics are
the most common and are used for digital photos, Web graphics, icons, and other types of
images.

 Animation means giving life to any object in computer graphics. It has the power of injecting
energy and emotions into the most seemingly inanimate objects. Computer-assisted animation
and computer-generated animation

Course Outcomes Addressed


 Manipulate visual and geometric information of images.

 Implement standard algorithms to draw various graphics objects using C program.

 Develop programs for 2D and 3D transformation.

Literature Review
 PIXEL: A pixel (short for picture element) is a single point in a picture.
On the monitor of a computer, a pixel is usually a square. Every pixel
has a color and all the pixels together are the picture.
 GRAPHICS: What is graphics? Graphics are visual images or designs on
some surface, such as a wall, canvas, screen, paper, or stone to inform,
illustrate, or entertain. In contemporary usage, it includes a pictorial
representation of data, as in computer-aided design and manufacture,
in typesetting and the graphic arts, and in educational and recreational
software. Images that are generated by a computer are called
computer graphics.
Examples are photographs, drawings, line art, graphs, diagrams,
typography, numbers, symbols, geometric designs, maps, engineering
drawings, or other images. Graphics often combine text, illustration,
and color. Graphic design may consist of the deliberate selection,
creation, or arrangement of typography alone, as in a brochure, flyer,
poster, web site, or book without any other element. Clarity or effective
communication may be the objective, association with other cultural
elements may be sought, or merely, the creation of a distinctive style.
 Basic Function Syntaxes:
initGraphics()
initGraphics(width, height)
setColor(color)
putpixel(x co-orinate, y co-ordinate,COLOR);
setbkcolor(COLOR);
setcolor(COLOR);
rectangle(x1,,y1,x2,y2);
line(x1,y1,x2,y2);
closegraph();
settextstyle(font, direction size);
circle(x,y,radius);
cleardevice();
arc(x, y, starting angle, ending angle, radius);
setfillstyle(STYLE, COLOR);
floodfill(x,y,boundary color);
ellipse(x, y, starting angle, ending angle, xradius, yradius);
getpixel(x,y);

Outputs of the Micro-Project


Skill Developed / learning out of this Micro-Project
 Graphics Animation Program writing skills is developed from this
micro project.
 Problem solving skills.
 Creativity.
 Critical thinking skills.

Applications of this Micro-Project


 Computer-generated imagery is used for movie making, video game
and computer program development, scientific modeling, and design
for catalogs and other commercial art.

You might also like