MAHARASHTRA STA5TE BOARD OF TECHNICAL EDUCAT[ON
SNUB
Shit Neminath Jain Bralimacharyashram
SHIR H.H.J.B POLYTECHNIC COLLEGE
CHANDWAD
TITLE OF MICRO-PROJECT:
ANALOG CLOCK
SUBJECT; COMPUTER GRAPHICS SUBJECT CODE:22318 SEMESTER:
THIRD
COURSE: CM
COURSE CODE: 1104
Year :2020-2021
Maharashtra state board of technical education
SNJB' S.H.H.J.B.POINTECHNIC,CHANDWAD
Year 2020-21
CERTIFICATE
This is to certify that,
Name
Lmagal komal Kailas
2 .pagar aishwarya ba5hkar
Student of thrill semester of diploma in computer
technology of institute "S.H.H.J.B.POLYTECHNIC I
CHANDWAD" has complted the micro project
satisfactorily in subject " COMPUTER GRAPHICS",code
22318 for the academic year 2020 -21 prescribed in the
curriculum
Place chandwad
Date :-
Subject teacher Head of department principal
Teacher Evaluation Sheet
!Name orrSil uderit •
Enrolirrieni Na
Named Prowarn Computer Tochnoksisi Come wtfi, ail
Come Vile • C Cdr
the 1:111 the hAktro-4Pirclif...
Garbo Cook ernes 1 hiew+rd
balmier1 us per Sliamtecl Rubric kr Avsservssnent of Aelcro.PrOlio:t
Chimbeteigtic go is teed Pam Awn wee Good Eked.ilent
I
(Marks 1-3I 1100larks 45) 111611ado.6•I) liktarks 9- 10)
1 -Relevance la the Course
2 irteralimre SPOVIeff / InfOrrnillen Collection.
rit5.11
tPrc
— .
I Completion of the Inert as piev ;roiled ;towel
5 Anolvidsof 414vti
6 Clualtty Of Prolotype / Model arid replientab011
7 Report PriPiritierl . .
g lkintriflathelfi . - - - - . —
! '---
9 Defers,
Pol:tcr - Prolert E aluratI 011 910E(
Process Asseternerot Priglutt Assessfrienc
I - 1
Put A proles
- PPM eOR W " M
I Individual Total
Name al Student Proposal liAe thud ulcer port ne litiffi3 10
Re i VVceld Presenist KM 41.
{2 retinal (2 rrbArleil PACilal Viva VI marl*
12 molts)
Corrintent0 5* about team work leadership P into' - penorliat
WrrlinvinKiljan (1
irve
Any attic Cuerenerrl;
Nene eacklerAniThon of the faculty Ibilernbef
si
p
-
1
0
1
1
0
e
INDEX
Sr.No CONTENT Page No.
1 PART A
1.0 Brief Introduction
Li Aim of Micro Project
1.2 Action Plan
1.3 Resource Required
2 PART B
2.0 Brief Introduction
2.1 Aim of Micro Project
...
2.2 course Outcome integrated
2.3 Actual Procedure Followed
2.4 Actual Resource Used
2.5 Outsut5
2.6 Skill Developed
PART A-Plan
Title of micro-project: Analog Clock
110 Alm/Benefits of the Micro-
Project : 1.Tearn work and Group
Handling.
2.Leadership Quality.
3.Time Management Qualities.
&Analyzing the Micro Project.
5.The project alms at developing an analog and digital clock using the C language that display an
analog and as well as digital clock.
6.An analog clock help with time management.
2.0 Course Outcomes Addressed :
1.Manipulate visual and geometric information of images.
2.Implement standard algorithms to draw various graphics
objects using C program.
3.Develop programs for2-d and 3-d transformation.
4.Use projection to visualize objects on view plane.
5.Implement various clipping algorithms.
6.Develop programs to create curves using algorithms.
3.0 Proposed Methodology
This is a semester wise Micro-project for the subject Computer
Graphics. Title of is Analog Clock and it is performed by the student of
Chaitali Kala x Raksha Sancheti, Siddhika GadgiL This project is given to
let know of the skills that were taught of Computer Graphics to the
students. This project is made with the help of Components of C
programming language s
3-0 Action Plan
Sr.no Details of Activity Planned Planned
Start Date Finish Date
Finalization of topic 22-10-20 22-10-20
2 1::ilparaton of Abstract
4 24-10-20 24-10-20
3 Collection of data 1-11-20 3-11.20
Preparation of program 9-11-20 12-11-20
Pre aration of 'ro: ram 9-11-20 12-11-20
7 Seminar/ Presentation L &MA
- - - -
8 Submission of Micro
P r o d e c t
4_0 Resources Required
Sa_No 'Name of Specification Quantity Refflirics
Resource/Material
1 Hardware Computer Computer,RAM . 13
System minium 2GB and processor
Onwards but not
limited to
L
tiV11111tme..
Operating Systeril Windows Xp
Aland ows 10.
illnux
Soft Turbo f w +
PART B
1.0 Rational
The combination of computers, networks and the compleK women
visual
system, through computer graphics, as led to new ways at
dIsplying
Information seeing visual worlds and communicating with people
and
machines.
A class in computer graphics allows the Instructor to build all
this topic
In a way that can be both Informative and fun. Low level
algorithm such as those that draw line or fill polygon are
used in micro-propect
A clock or watch is called "analog' when it has moving hands and
hours markedfr
am 1 to 12 to show you the tIme.Analog clocks usually
Indicate time using a ngles. The most commonclock face
uses a fixed numbered dial or dials arid moving hand or
hands. It usually has a arcularscale of ilhours,which can
al so serve as a scale of baminutes„and EIOseconds If
theclock has a se cod han d.
2.0 Alm/Benefits of the Micro.Project :
1.Team work and Group Handling.
2, Leadership Quality.
3.Tinie Management Qualities.
4.Analyzing the Micro Project.
S. The project aims at developing an analog and
digital clock using the C language that display an
analog and as well as digital clock. 6. An analog
clock help with time management.
3.0 Course Outcomes Addressed
1. Manipulate visual and geometric information of images.
1, Implement standard algorithms to draw various graphics objects using C
program.
3.Develop programs for2-d and 3-d transformation.
&Use projection to visualize objects on view plane.
5.1mplement various clipping algorithms.
6.13evelop programs to create curves using algorithms.
4.OActual Methodology followed
ilinclude<stdio.h
>
4Inciude<graphics.h
>
Ninclude<stdlib.h
) Nincluci e<
math.h>
Ninclude<dos.h>
Ninclude<time.h>
define Pi 3.147
void
clockLayoutR
void
secHandll:
void hrHancl();
void
minHand(); int
rna xx,.rnaxy.:
void main()
int gd-=D ETECTrg m, error;
initgraph(&gdraigm,"cNikturboc3\\
bgil; error-=traphresult();
ifi(errorl=grO0
printfrError in graphics, code= %d'i,grapherrorirsg(error}li;
exiti(0);
}
while(1)
clockLayoutth
secHand0;
mInhand();
hirl-land();
sieep(1); Pi pausing the outputscreen for 1 sec
deardevIce(); /* clearing the previous picture of clock 11/
void clackLayout()
Int liky,r;
float J:
maxx=getmaxxi);
maxy=getmaxy();
for(I•1;1<5;1+.9
/* printing a round ring with outer radius of 5 pixel */
setcolor(YELLOW)::
circle max xi 1 , maxy/2,420-11;
}
pieslice(maxxarnaxy/1„0,360,5); /* displaying a circle In the middle of clock 'V
x=maxx/2+100;y=maiy/2;
ri.100;
setcolor(BLLIE);
fortJ=P1/6;J<.(2*P10-.(P1/15)1
/* marking the hours for every 30 degrees 'V
*slice( x,y„0,360,4);
x=lmaxx/1)+rscos(j);
yAmaxy/2)+rssin(j);
x.maxx/11,100:.y=nriaxy12;
r=100;
setcolorIRED);
for(j.P1/304cm(2•Pl); jir.(P1/301)
{ is marking the m[nutes for every 6 degrees sir
piesiice(x,y,0„360,2);
x=imaxx/Thecos(j);
yAmaxy12)-114sinii);
void se-landfil
strud time t;
int r=130,x=maxxj2imaxy/1,,sec:.
float 0;
maxx=getrniaxx();maxy.getrnaxyl);
gettimel&t); /*getting the seconds in system clock */
sec=t_ti_sec;
0=see(P1/30)-(P112); /* determining the angle of the line with respect to
vertical */
setcolorlyELLOW);
lline(rnaxxif2,maxy/2,x+r•cos10),y+r•sin101):.
I
void twIland()
I
in r=50hr,min;
int x„y;
strud time t;