You are on page 1of 6

Anjuman polytechnic, Nagpur

Micro project report


On
Analog clock
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
Ans: This is a c program which reads the current time from system and shows an analog clock that shows correct
time. The clock hand ticks and the three hands (hour hand, minute hand, and second hand) are used to show correct
time.

2: Course outcome addressed


a) secHand():This function is going to get the present second from the
system clock and incline the line according to a particular angle.
b) minHand(): this function fulfills the task of moving the minutes hand
based on the system clock. The minutes hand must be inclined 6 degrees
for every minute passing.
c) hrHand() this function is going to print an inclined hours line. The
function is designed to get the present hour and also the no. of elapsed
minutes from the system clock and incline the line according to a
particular angle
d) clockLayout() used this function to print the clock layout

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

Roll no Name of team member


16 Hemant thawani
17 Kedar pimpale
18 Lawanya maghade

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