0% found this document useful (0 votes)
72 views7 pages

Micro

The document describes a micro project to create a moving boat using computer graphics in C language. It includes functions like line, circle to draw the boat and sea. Color and coordinates are used to position the graphics. The aim is to understand graphics concepts and developing a program to create moving objects. It discusses transformations to reposition graphics by translation, rotation. The methodology involves defining the problem, designing algorithms, coding, testing, debugging and documentation. Resources like header files and functions from the graphics library will be used.

Uploaded by

Danish Ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views7 pages

Micro

The document describes a micro project to create a moving boat using computer graphics in C language. It includes functions like line, circle to draw the boat and sea. Color and coordinates are used to position the graphics. The aim is to understand graphics concepts and developing a program to create moving objects. It discusses transformations to reposition graphics by translation, rotation. The methodology involves defining the problem, designing algorithms, coding, testing, debugging and documentation. Resources like header files and functions from the graphics library will be used.

Uploaded by

Danish Ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION,

MUMBAI
Micro Project Report
On
Moving Boat
Submitted By

Syed Danish Ali


Sameer Shaikh
Mehfuz Khan
Sufiyan Khan
Under the guidance of

PROF. MOHD. AFZAL AHMAD

Department of Computer Engineering


JAMIA POLYTECHNIC,
AKKALKUWA DIST. NANDURBAR
2022-2023

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION,


MUMBAI
JAMIA POLYTECHNIC

CERTIFICATE
This is to certify that the project report entitled . “ Moving Boat ”, Submitted by “ Syed
Danish Ali, Sameer Shaikh , Mehfuz Khan and Sufiyan Khan” during the academic year
2022-2023 satisfactorily been worked and successfully completed in all respected as
prescribed for the “DIPLOMA IN COMPUTER ENGINEERING” for the board of
Technical Education(MSBTE)Mumbai.
Place: Akkalkuwa

Date:

Prof. Mohd Afzal Ahmad Prof. Afzal Ahemad


GUIDE H.O.D.
Computer Engg. Department

Principal
Prof. Sajid Husain

ANNEXURE I
Evaluation Sheet for the Capstone-Project Planning
Academic Year: 2022-2023 Name of the Faculty: Mohd Afzal Ahmad

Course: Computer Engineering Semester: 3th

Title of the Project: _______________________________________________________

A:______________________________________________________________________

B: ______________________________________________________________________

C: _____________________________________________________________________

D: _____________________________________________________________________

Roll No. Student Name

Mohd. Afzal Ahmad


(Name & Signature of faculty)

ANNEXURE II
PART A – Micro-Project Proposal
Moving Boat

1.0 Brief Introduction

Here is a program for moving boat using computer graphics in c language


The use of graphics is to draw some object which we see in our day to day life . we can
construct the picture by using various graphics function . graphics function are nothing
but lines , polygon , circle , ellipse , triangle , rectangle . computer graphics are used in
many fields . here we used graphics for create a moving object . our moving object id
boat . which is move in sea . by using all graphics function, header files are we used in
this project . the most files important header in graphics is <graphics.h> . from this file
we can access all required function to perform the program.

we used graph driver graph mode , and path driver .We used graphics function like line,
circle . For line function we used dashed line . We give color to our line by using set
color function . We used if – else statement for control the flow of statements in the
program . For getting output as a picture we used closegraph() function at the end of the
program
Function used in program :

 delay(n) : this function is used for holding the program output for a small period
of time since processing is very fast so use itto see the result.

 Setcolor(n) : a function from graphics.h header file which set the color of the
pointer (cursor). There are some predefined colors in computer graphics. Here n
is color number.

 Line(x1 , y1 , x2 , y2) : a function from graphics.h header file which draw a line
with (x1,y1) as first coordinate of line and (x2,y2) as second coordinate of the
line.
 Circle(x , y , r) : a function from graphics.h header file which draw a circle (x ,y)
and radius r.
2.0 AIM of Micro - Project

1. To understand the concept of graphics used in computer.


2. To understand the method of moving object.
3. To learn how to create a program in graphics.
4. Understand the concept of all required graphics function.

3.0 Intended Course Outcomes (CO)

1. Manipulate visual and geometriuc information of images.


2. Use projections to visualize object on view plane.
3. Develop program to create curves using algorithms.

4.0 Literature Review


Transformation means changing some graphics into something else by applying rules. We
can have various types of transformations such as translation, scaling up or down, rotation,
shearing, etc. When a transformation takes place on a 2D plane, it is called 2D
transformation. Transformations play an important role in computer graphics to reposition the
graphics on the screen and change their size or orientation.

Rotation about arbitrary point


To rotate an object about an arbitrary point (xp, yp), we have to follow three steps:
1. Translate the object so that point (xp, yp) is moved to the origin
2. Rotate the object about origin
3. Translate the object so that the point is back to its original position
See above figure explaining the whole process. The matrix representation can be found as

5.0 Proposed Methodology

In order to create any application/program following steps are followed.

 Defining and Analyzing the Problem. In this step, a programmer studies the
problem

 Designing the Algorithm and drawing flowcharts


 Coding or Writing the Program

 Test Execution

 Debugging

 Final Documentation.

We will follow the same above steps to create the micro project

6.0 Resources Required

7.0 Action Plane

You might also like