Project: "Sun Rise & Sun Set"

Download as pdf or txt
Download as pdf or txt
You are on page 1of 18

PROJECT REPORT

ON

“SUN RISE & SUN SET”

Submitted in the partial fulfillment of the requirements for

The degree of BACHELOR OF ENGINEERING IN COMPUTER


ENGINEERING

By

1)ANIKET MATODKAR
2) ANISH MANDHARE
3)OMKAR KUMBHAR

DEPARTMENT OF COMPUTER ENGINEERING


SARASWATI COLLEGE OF ENGINEERING,
SECTOR-5, KHARGHAR, NAVI MUMBAI-410210
UNIVERSITY OF MUMBAI

ACADEMIC YEAR 2019-2020


CERTIFICATE

This is to certify that the requirements for the project report entitled “SUN rise & SUN
set” have been successfully completed by the following students:

Roll numbers Name


1) 25 ANIKET MATODKAR
2) 24 ANISH MANDHARE
3)22 OMKAR KUMBHAR

In partial fulfillment of Sem –IV, Bachelor of Engineering in Computer Engineering,


Saraswati college of Engineering, Kharghar, University of Mumbai, during the academic year
2019-20

Internal Guide

(Prof. Arti K.Gore)


Saraswati College of Engineering, Kharghar

Vision:

To become center of excellence in Engineering education and research.

Mission:

To educate students to become quality technocrats for taking up challenges in all facets of
life.

Department of Computer Engineering

Vision:

To imprint knowledge to our students to excel in engineering culture and research and
nurture them to become ethically rich professional.

Mission:

To provide simulating learning environment with a technological orientation to maximize


individual potential.
DEPARTMENT OF COMPUTER ENGINEERING
PROGRAM EDUCATIONAL OBJECTIVE’s

1. To embed a strong foundation of Computer Engineering fundamentals to identify,


solve, analyze and design real time engineering problems as a professional or entrepreneur for
the benefit of society.
2. To motivate and prepare students for lifelong learning & research to manifest global
competitiveness.
3. To equip students with communication, teamwork and leadership skills to accept
challenges in all the facets of life ethically.
DEPARTMENT OF COMPUTER ENGINEERING
PROGRAM OUTCOMES
1. Apply the knowledge of Mathematics, Science and Engineering Fundamentals to
solve complex Computer Engineering Problems.
2. Identify, formulate and analyze Computer Engineering Problems and derive
conclusion using First Principle of Mathematics, Engineering Science and Computer Science.
3. Investigate Complex Computer Engineering problems to find appropriate solution
leading to valid conclusion.
4. Design a software System, components, Process to meet specified needs with
appropriate attention to health and Safety Standards, Environmental and Societal Considerations.
5. Create, select and apply appropriate techniques, resources and advance Engineering
software to analyze tools and design for Computer Engineering Problems.
6. Understand the Impact of Computer Engineering solution on society and
environment for Sustainable development.
7. Understand Societal, health, Safety, cultural, Legal issues and Responsibilities
relevant to Engineering Profession.
8. Apply Professional ethics, accountability and equity in Engineering Profession.
9. Work Effectively as a member and leader in multidisciplinary team for a common
goal.
10. Communicate Effectively within a Profession and Society at large.
11. Appropriately incorporate principles of Management and Finance in one’s own
Work.
12. Identify educational needs and engage in lifelong learning in a Changing World of
Technology.
DEPARTMENT OF COMPUTER ENGINEERING
PROGRAMME SPECIFIC OUTCOME

1. Formulate and analyze complex engineering problems in computer engineering


(Networking/Big data/ Intelligent Systems/Cloud Computing/Real time systems).
2. Plan and develop efficient, reliable, secure and customized application software
using cost effective emerging software tools ethically.
ABSTRACT
Computer Graphics is the creation, manipulation, & storage of models and images of
picture objects by aid of computers . This was started with the display of data on plotters
& CRT. Computer Graphics is also defined as the study of techniques to improve the
communication between user & machine , thus Computer Graphics is one of the
effective media of communication between machine & user

In our project we are clearly going to demonstrate the working of “Sun rise &Sun set”
using flood fill algorithm .Viewer can see the motion of sun rise & Sun set
Table of Content

CHAPTER NO. TITLE PAGE NO.

1. INTRODUCTION

2. HARDWARE SOFTWARE REQUIREMENTS

3. RESULT

4. CONCLUSION
Introduction
IN our project “Sun rise & Sun set” we have made a scenery for the sun rise & sun set
along with the proper motion of sun while rising as well as while setting

Hardware Software Requirement


Minimum:
- Computer with a 1.6 GHz or faster processor
- 384 MB of RAM or more (768 MB of RAM or more for Windows Vista)
- 1366 × 768 or higher-resolution display
- DVD-ROM Drive
-Pentium IV and above
-1 GB hard disk space
-Keyboard and Mouse
- JDK
-Command Prompt.
Code :
#include<graphics.h>

#include<stdio.h>

#include<conio.h>

#include<dos.h>

void mount();

void main()

int a,b,c,d;

int gdriver = DETECT,gmode;

initgraph(&gdriver,&gmode,"C:\\Turboc3\\BGI");

mount();

//sun rise

b=0;

for(a=0;a<150;a++)

setfillstyle(1,WHITE);

circle(400,600-b,40);

floodfill(400,561-b,WHITE);

b=b+3;

delay(30);
cleardevice();

mount();

setfillstyle(1,WHITE);

circle(400,600-b,40);

floodfill(400,561-b,WHITE);

delay(1000);

//circle(400,150,50);

line(350,130,330,120);

line(360,115,340,100);

line(378,105,360,85);

line(450,130,470,120);

line(440,115,460,100);

line(420,105,435,85);

line(445,170,470,185);

line(435,185,455,205);

line(420,200,430,222);

line(352,170,325,175);

line(360,185,340,200);

line(380,195,365,215);
line(350,150,325,150);

line(400,100,400,75);

line(450,150,475,150);

line(400,200,400,225);

delay(2000);

//sun set

c=0;

for(a=0;a<150;a++)

setfillstyle(1,WHITE);

circle(400,600-b+c,40);

floodfill(400,561-b+c,WHITE);

c=c+3;

delay(30);

cleardevice();

mount();

getch();

void mount()
{

setfillstyle(1,WHITE);

//mountain

line(0,480,200,300);

line(200,300,400,480);

line(400,480,600,300);

line(600,300,800,480);

floodfill(100,470,WHITE);

floodfill(550,350,WHITE);

}
/OUTPUT/
CONCLUSION:
Hence we have studied 2D graphics in which we can made different objext in C

You might also like