Professional Documents
Culture Documents
Report 2
Report 2
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
5: resourced used
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
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