Computer Graphics Micro-Project

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

1

GOVERNMENT POLYTECHNIC NANDURBAR Academic Year: 2021-22


Department: Computer Engineering Semester: 3rd

A Project report on

Bouncing Ball

Submitted in December 2021 by a group of…..4…..students.


Serial Number Roll Number Name of the students Enrollment Number
(1) 2114 Prashant Dhangar 2014320079
(2) 2148 Daksh Malve 2014320116
(3) 2152 Vaishnavi Bhavsar 2014320120
(4) 2153 Sneha Gumane 2014320121

Under the Guidance of

Ms. Punam Sathe


in

Three Years Diploma Program in Engineering & Technology of Maharashtra


State Board of Technical Education, Mumbai (Autonomous)

at

1432 GOVERNMENT POLYTECHNIC NANDURBAR.


2

MAHARASHTRA STATE BOARD OF TECHNICAL


EDUCATION, MUMBAI
Certificate
This is to certify that Mr. /Mrs. 1) Prashant Dhangar (Roll No: 2114 )
2) Daksh Malve (Roll No: 2148 )
3) Vaishnavi Bhavsar (Roll No: 2152)
4) Sneha Gumane (Roll No: 21523)

Roll No: of Third Semester of Computer Engineering, Diploma in Engineering &


Technology at 1432 GOVERNMENT POLYTECHNIC NANDURBAR, has completed the Micro
Project satisfactorily in Subject Computer Graphics in the academic year 2021-2022 as per the
MSBTE prescribed curriculum of I Scheme. Place: Nandurbar, Enrollment No:

1) 2014320079
2) 2014320116
3) 2014320120
4) 2014320121

Date: 00/ 12 / 2021

Project Guide Head of the Department Principal


3

INDEX

Serial Number Title Page Number


1 Abstract 4

2 Introduction 5

3 Aim of the Micro Project 5

4 Scope of the Micro-Project 6

5 Features 6

6 Resources Required 7

7 Brief Description 8-9

8 Actual Procedure 10
Followed.

9 Testing and execution of 11


the program

10 Conclusion 12

11 Project Outcomes 13
Integrated

12 Skill Developed / learning 13


out of this Micro-Project

13 References 14
4

Abstract

In this project, we are demonstrating the ball will have a random motion.
The ball will collide with the boundaries of the window and move in a random
direction. The main idea behind this project is to display the bouncing ball with
computer graphics. The programming language used here is C.
5

Introduction

Computer graphics are pictures and films created using computers. Usually, the

term refers to computer-generated image data created with the help of


specialized graphical hardware and software. It is a vast and recently developed
area of computer science. The phrase was coined in 1960, by computer graphics
researchers Verne Hudson and William Fetter of Boeing. It is often abbreviated
as CG, though sometimes erroneously referred to as computer-generated

imagery (CGI).Some topics in computer graphics include user interface design,


sprite graphics, vector graphics, 3D modeling, shaders, GPU design, implicit
surface visualization with ray tracing, and computer vision, among others.
Computer graphics is responsible for displaying art and image data effectively

and meaningfully to the consumer. It is also used for processing image data
received from the physical world. Computer graphics development has had a
significant impact on many types of media and has revolutionized animation,
movies, advertising, video games, and graphic design in general.

Aim of the Micro Project

This Micro-Project aims at:


1. Create a Bouncing-Ball Program.
2. Create and apply graphics to a ball to bounce.
6

Scope of the Micro-Project

The scope of the Micro-Project is as follows:

• This bouncing ball project can easily implemented into any game
programming.
• This project can be apply in application development.
• It can also useful in web development.

Features

• It is easy to use.
• It is reliable and accurate.
7

Resources Required

In the completion of this Micro-Project, mainly we had required following


resources:

Serial No. Name of Specifications Quantity Remarks


Recourse/Material

1. Hardware/Computer Computer 1
System (pentium 4th
gen), Ram = 4
gb , HDD 500GB

2. Operating system Windows 1

3. Software Turbo C 1
8

Brief Description

In this program, we will draw a red colour ball move it vertically up and down like
a bouncing ball. We will use below mentioned functions in this program.

Function Description
initgraph

It initializes the graphics system by loading


the passed graphics driver then changing
the system into graphics mode.

getmaxx

It returns the maximum X coordinate in


current graphics mode and driver.

setcolor

It changes the current drawing colour.


Default colour is white. Each colour is
assigned a number, like BLACK is 0 and RED
is 4. Here we are using colour constants
defined inside graphics.h header file.

setfillstyle

It sets the current fill pattern and fill colour.


9

circle

It draws a circle with radius r and centre at


(x, y).

flodfill

It is used to fill a closed area with current fill


pattern and fill colour. It takes any point
inside closed area and colour of the
boundary as input.

cleardevice

It clears the screen, and sets current


position to (0, 0).

delay

It is used to suspend execution of a


program for a M milliseconds.

closegraph

It displays the text or string at a specified


point (x, y) on the screen.

Outtextxy

It unloads the graphics drivers and sets the


screen back to text mode.
10

Actual Procedure Followed.

1. First of all, Survey about the project was done.

2. Collected the information about the Micro-Project from Internet and textbooks
of curriculum.

3. Practically testing of the Micro-Project i.e. ,Written and executed the finalized
program.

4. Gathered and analyzed all this information. After that, finally created the report
of this Micro-Project.
11

Testing and execution of the program

When we execute the prepared coding on output-screen, the following graphics output is
shown.
12

Conclusion

This project is one of the sample project on Computer Graphics. To had tried our best to include
basic features of graphics in our projects.We aimed it to be an interfacing application to the real world t
hat means our project must not bean project for any examination but also applicable for real world use.
We have able to give some benefits to the disability. From this very project we were able to achieve vari
ous knowledge in computer graphics and also in coding. We refresh our knowledge in C Programming.
Moreover we also gained an experience of group work, team coordination.
13

Project Outcomes Integrated

a) Create and utilize bouncing-ball program.


b) Learn various graphics function by applying it into the program.

Skill Developed / learning out of this Micro-Project

+ Discipline knowledge: Apply Computer engineering discipline- specific


knowledge to solve core computer engineering related problem.

+ Experiments and practice: Plan to perform experiments and practices to use the
results to solve broad-based Computer engineering problems.

+ Engineering tools: Apply relevant Computer technologies and tools with an


understanding of the limitations.

+ Communication: Communication effectively in oral and written form.


14

References

https://www.programmingsimplified.com/c-graphics-programming-tutorial

https://www.javatpoint.com/computer-graphics-tutorial

https://developerinsider.co/graphics-graphics-h-c-programming

www.tutorialspoint.com
15

Weekly Work / Progress Report


Details of 16 Engagement Hours of the Student
Regarding Completion of the Project

Timing Work or activity Sign of the


Week No. Date
performed guide
Time in
--- --- From To --- ---
hours
Discussion and
2.00 3.00
1 28/9/2021 1 Finalization of the
pm pm
Project Title
Preparation and
2.00 3.00
2 29/9/2021 1 Submission of
pm pm
Abstracts
3.00 4.00 Literature Review
3 22/10/2021 1
pm pm
4.00 5.00 Collection of Data
4 24/10/2021 1
pm pm
3.00 4.00
5 11/11/2021 1 Sorting of Data
pm pm
Discussion and
2.00 3.00
6 22/11/2021 1 Outline of
pm pm
Content
Rough Writing of
3.00 4.00
7 1/12/2021 1 the Projects
pm pm
Contents
Editing and Proof
2.00 3.00
8 13/12/2021 1 Reading of the
pm pm
Contents
2.00 3.00 Final Completion
9 15/12/2021 1
pm pm of the Project
Seminar
Presentation, viva-
3.00 4.00 vice,
10 31/12/2021 1
pm pm Assessment and
Submission of
Report
16

ANNEXURE-II
Evaluation Sheet for the Micro Project (Teachers Copy)

Academic Year: 2021-22 Name of faculty: Ms. Punam Sathe

Semester: 3rd Program Name: Computer Engineering

Course Name: CGR Course Code: 22618


Name of Students : 1. Dhangar Prashant Sanjay
2. Malve Daksh Arjun
3. Bhavsar Vaishnavi Rajnish
4. Gumane Sneha Manoj
Title of the project : Bouncing Ball

COs addressed by the Micro Project:


(A) Major Learning Outcomes achieved by students by doing the

Project:

(a)Practical Outcomes:

1. Basic knowledge

2. Discipline knowledge

3. Experiments and Practice

(b) Outcomes (in Cognitive domain)

1. Processing information

2. Constructing

3. Understanding

4. Applying knowledge

( c) Outcomes in Affective Domain

1. Follow safety measures.

2. Follow ethical practices


17

➢ Comment/Suggestions about team work/leadership/inter-personal


Communication (If Any):

Roll Number Name of Marks out of Marks out of Total


Students 6 for 4 for Out of
performance performance 10
in in Oral
group activity /
presentation

2114 Dhangar
Prashant
Sanjay

2148 Malve Daksh


Arjun

2152 Bhavsar
Vaishnavi
Rajnish

2153 Gumane
Sneha Manoj

( )
Signature with Name and Designation of the Faculty Member

You might also like