You are on page 1of 16
>. \ MSBTE DIPLOMA » NOTES DOWNLOAD THE BOOKS SOLVED LAB MANUALS AND NOTES SHARE AND SUPPORT US DIPLOMA NOTES : ALL SOLVED MANUALS BOOKS & NOTES DOWNLOAD WHICH YOU WANT Visit us at wwnw.mabtediplomahelp.blogspot A MICRO-PROJECT REPORT ‘ON “DESIGN AN ANALOG CLOCK” ‘Submitted in fulfillment of the requirement for the internal assessment for the subject computer Graphics for, DIPLOMA SECOND YEAR IN COMPUTER ENGINEERING Shreya R Sonawane Enrollment No.1916240013 Saba H Mulani Enrollment No.1916240027 Under the guidance of PROF. JYOTSAN MADAM Professor, Computer Department DEPARTMENT OF COMPUTER ENGINEERING SIDDHANT COLLEGE OF ENGINEERING - [SCOE] SUDUMBARE, PUNE ACADEMIC YEAR: 2020-21 https://msbtediplomahelp.blogspot.com/ a ae ers SIDDHANT COLLEGE OF ENGINEERING - [SCOE] SUDUMBARE, PUNE ACADEMIC YEAR: 2020-21 (OOIAHARASHTRA STATE) ertificate “This is to certify that, this Project report entitled “DESIGN AN ANALOG CLOCK” ‘Submitted by Enrollment No.1916240013 Enrollment No.1916240027 ENGINEERING a laid down by MSIBTE, is record oftheir own work cured aut by them under my supervision and guidance during year 2020-2021 Place: Pune PROF. JYOTSAN MADAM PROF.SARITA MADAM. PROJECT GUIDE https://msbtediplomahelp. blogspot.com ACKNOWLEDGEMENT ‘With all respect and gratitude, I would like to thank all people who have helped. ime directly or indirectly for the completion of this Project work T thank my seminar guide for helping me to understand the project topic conceptually in every phase of project work. T express my heartily gratitude towards Head of department of Computer Engineering for guiding me to understand the work conceptually and also for providing necessary information and requited resources with his constant encouragement to ‘complete this project work. Last but not the leat, I thank to all the Teaching & Non teaching staff members ‘of Computer Engineering Department for providing necessary information and required resources. Lam ending this acknowledgement with deep indebtedness to my friends who have helped me. Shreya Rakhamaji Sonawane Ensollment No,1916240013 Saba Habib Mulani Ensollment No.1916240027 ABSTRACT The project is idea to display the clock with computer graphics. this project just used the local time-fetching from the compater and display it on theseroen this project i rmplements the wall clock with the round circular boardand! tee conic geometric which forms the diffe rent(sec.min @hounhands Here we are going to use time function to diplaytimeIn this project we areg fing to get output has the current time TOPICS Tntroduetion Requirements Timplementation Conclusion References CHAPTER 1 INTRODUCTION > Ovi The aim of this project is to implement an application package of Computergraphies using Ope AGL. Here we represent the concepts displaying Analog clock inOpenGL, > ABOUT GRAPHICS Open Aoctivities as wideranging as filmmaking, publishing, banking and educationcontinue to underg Do revolutionary changes as these technologies alter the ways inwhich we conduct our daily acti vities. The combination of computers, network andthe complex human visual system, through computer graphics, has led to new ways of displaying information seeing virtual worlds and co ‘mmunicating with people andmachines.A class in computer graphics allows the instructor to b Uild all these topics in away that can be both informative and fun, Low level algorithms such a S those thatdraw lines of fill polygons are used in OpenGL..The development of OpenGL resol ved both ofthe difficulties that wasexperienced with other APIS and with the alternative of usi rng home — brewed s/w OpenGL today is supported in all platforms. A clock or watch is called "analog" when it has moving hands and hours markedfrom 1 10 12 ¢ ‘o show you the time.Analog clocks usually indicate time using angles. The most commonclock face uses a fixed numbered dial or dials and moving hand or hands. It usually has a circulaesca le of 12hours, which can also serve as a scale of 60minutes,and 60seconds if theclock has a see fond hand. Many other styles and designs have been used throughout theyears, including dials d ivided into 6, 8, 10, and 24 hours.The only other widely used clock face today is the24 hour an alog dial , because of the use of 24 houe time inmilitary organizations and timetables CHAPTER 2 REQUIREMENT > SOFTWARE REQUIREMENT: The project requires access to the OpenGL graphics library functions . Someof these library fu netions are contained in unique to C++ library header files such as 1) GLigtuth 2) math. 3) windows.h 4) time.h To write, compile and link the program , a suitable C integrated developmentenvironment is re uired . Microsoft Visual Studio/Code Blocks may be suitable in this regard, Software requirement are 1 Window Operating System 2, Microsoft Visual Studio 3. Code Blocks > HARD! ‘The minimum/recommended hardware configuration required for developing theproposed soft ware is given below: 1, PENTIUM-2 and above compatible systems. 128 MB RAM. Approximately 1 MB free space in the hard disk. ‘Hard disk access time must be less than 19 milliseconds CHAPTER 3 IMPLEMENTATION udeceraphics. to #inchudecdos.o veld demelogic(): seat inecoler 0); elrser()s int gdriversOETECT ode Sniteraph(Qgieivergnode,"c:\\te\ BEI") usecolor(); getch0) closegrarh() 2 rectangle(5,5,595,465)5, setcolor(25) rectangle( 14 ,65,500,415) ine (275, 35,145,65), ine(S30,385,508, 415); 2ine(325,60, 345,40) Line(275,60,325,68);, Line (295,40, 345,48); rectongle(20,15@, 128,280); outtextey (27,195, Designed By:°): uttextey (27,215, demlatpr) couttextay( 27,235, praned”); osttextay(27,285, Lavina"); rectangle(25,155, 225,182); setcolor(YELLON): outeexty(27,16@, "Analog Clock"); setokcoler(@); setcolor(4); cirele(320,248,3)5 setcoloe() eirete( 20,246,150), elrete( 520,248,165); setcolor(1): outtextxy( 24,204, outtextny (454,232, uttextay (195,302, uttexty(388,383,"5°)5, cuteexty(248,353,°7")5 ) float af; ant tad: gettine(a sinane(ionie()) setcolor(count); receangle(20,20,138,90) pertie(ety aotony(5,5)5 print (%d: Xd: 3a rectangle(25,25,125,45); setcoler (YELLOW); outtexty(27,20,"Digical Tine"); gotony(5,5)5 lent, 7123896t1.t_sec* 10471985, F(t mins sn2aber 4 sincady anfa2®. 10671985 i nin>-204Bt1.ti_aine3s) ‘ ? ‘ ) L(t. th im>easeBe1 tt mincaa) ‘ anfeanfe(4* 1047198), ) $¥(e2. th min>ssouse ti wincéa) nfs(5. 1007198); setLinestyle(@,2,0) setcolor( ne(238,248,2,)5 ne(320,240,4,6)3 ine(220,240,ta,4); x=1206140"cos (angle); y-2400140%sin(an@le); 942264120%20s(an) ve-2400120"2in(an); 240080 2in(ant); setcoloe(10) ine(220,240,,995 seteoloe(9); 1ine( 322, 240,4,m) https://msbtediplomahelp.blogspot.com anglev=.1047198; delay 2200) int usecolor, ch: couttextny(25,262," Colour Men couttextny(25,268,"2: RED"); outtexty(25, 308, "2:84UE") iteh(eh) case a:setcoter(a)s exrete(s20,248,3) setcolor(); circle( 226,248,358); cirche( 326,240,365); drawedock() arsucioaset) cate 2isetcolor(7): cirele(328,248,3)5 setcolor(7 circle(s26,24€, 156), eirete( 320,240,365); arauclock drawclogic(s cate 2icoutce'value of color\n" https://msbtediplomahelp.blogspotfeom ourur Final Output Seren CHAPTER 4 CONCLUSION This project shows the graphical representation of a working analogue clock.The objective of this program is to implement simple and basic functions of OpenGL. Computer graphics plays a major role in today’s world where visualization takes theupper hand as compared to textual interaction, This is largely true as we can s ce userinterface becoming more and more attractive all thanks to major leaps in t he fields of computer graphics. The project is implemented using graphics Open GL packageprovided by C.The above argument is equally justified in the fields 0 f computer simulationwhich involve complex graphics being highlighted at its pe ak. Itis becoming moreand more popular and the constant dive to improve partic ular system efficiency bystudying its simulated model attracts more people towards it https://msbtediplomahelp.blogspot.com/ CHAPTER 5 REFERENCES Interactive Computer Graphies ~ A Top-Down Approach Using OpenGL Computer Graphies Using OpenGL. — F.S Hill, Jr.2nd Edition, Pearson Education ,2001 Computer Graphies ~ 1es D Foley , Andries Van Dam , Steven K Feiner John F Hughes , Addison — Wesley 1997 ‘Computer Graphies. ~ OpenGL, Version - Donald Hear and Pauline Baker 2nd Edition , Pearson Education

You might also like