0% found this document useful (0 votes)
17 views10 pages

Vivek Singh One and Only Hero Microproject.

Cgr microproject

Uploaded by

torfosaale
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)
17 views10 pages

Vivek Singh One and Only Hero Microproject.

Cgr microproject

Uploaded by

torfosaale
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/ 10

SMT. GEETA D.

TATKARE POLYTECHNIC, GOVE-KOLAD


DEPARTMENT OF COMPUTER ENGINEERING

A MICROPROJECT
Report on
“COMPUTER GRAPHICS”
Submitted in partial fulfillment by M.S.B.T.E. norms
For the Academic Year 2024-25
For award in Diploma in
Computer Engineering
SUBMITTED BY:
1. Ganesh chavhan
2. Harsha patil
3. Vivek singh
4. Sarthak bhoir
Under The Guidance Of
Mrs.Anuja Suryavanshi
CGR(313001)

1
INDEX

Micro Project and Progressive Assessment Sheet:

Sr. Micro project Outcome Pa Date of Date of Assessme Remar


No ge Performa Submissi nt Marks k ( If
. No. nce on (25) Any)
1 Write A C program code to draw 1 1/8/2024 20/11/20
a football ground. 24

2
Annexure – I A
Micro Project
PART A - Plan

1.0Title of Micro-Project: Write a C program code to draw a football ground.

2.0 Brief Introduction: Creating a football ground in computer graphics using C


involves several steps, including setting up the graphics environment, designing
the ground, and drawing its Elements. Here’s a basic outline to get you started:

1. Designing a Football Ground:

2. Setup Graphics:

Use a library like OpenGL, SDL, SFML, or graphics.h.

Initialize the window to display the ground.

3. Draw the Ground:

Use a rectangle for the field’s boundary.

Add a center line, center circle, goalposts, and penalty boxes with
simple shapes (lines, rectangles, and circles).

Use green for the field and white for markings.

4. Enhance Visuals:

Add details like corner arcs and penalty spots.

Optionally include textures or gradients for realism.

5. Render and Update:

Continuously display the field in a loop.

Handle interactions if needed (e.g., resizing or zooming).

3
3.0 Aim of the Micro-Project: Write a C program code for flying a bird using
computer graphics.

3.0 Action Plan

Planned Planned Name of


S. Details of activity Start date Finish Responsible Team
No. date Members
1 Searching the topic for micro project 1/8/2024 8/8/2024 Harsha patil
Vivek singh
2 Search information from the 9/8/2024 15/8/2024 Vivek singh
COMPUTER GRAPHICS book and Sarthak bhoir
from the Internet.
3 29/8/2024 12/9/2024 Ganesh chavhan
Vivek singh
Discuss with the project guide.
Harsha patil
Sarthak bhoir

4 arrange all information in MS Word 12/9/2024 19/9/2024 Vivek singh

5 17/10/202 24/10/202 Vivek singh


Prepare a report on it using MS Word
4 4
6 11/11/202 20/11/202 Ganesh chavhan
print micro project
4 4 Sarthak bhoir

1.0Resources Required:

Sr. Name of Specifications Qty Remarks


No. Resource/material

4
1 Computer System 4-8 GB RAM, i3 1 Available
Processor, 256 GB
HDD
2 Operating System Windows 10 1 Available
3 Microsoft Office MS Word 1 Available
4 Internet Google Chrome, - Available
Mozilla Firefox
5 Turbo C++ OK 1 Available

**************

5
Annexure – II A
PART B

1.0Title of Micro-Project: Write a C program code to draw a football ground in


computer graphics.

2.0Brief Description: Computer graphics refers to the creation, manipulation, and


representation of visual images using computers football ground in computer
graphics using C involves several steps, including setting up the graphics
environment, mapping ground, and drawing it’s elements.

3.0Aim of Micro Project: Write a C program code for drawing a football ground
using computer graphics.

4.0 Course Outcomes Integrated :


a) Manipulate visuals and geometic information of images.
b) Develop programs in c by applying standard graphics algorithms.
c) Perform and demonstrate basic and composite graphical transformation on
given object.

5.0 Actual Procedure Followed


• Select topic for micro project
• Searched for information of the topic on the Internet.
• Take suggestions from Subject Teacher.
• Planned to complete the project.
• Executed plan.
• Made a report on Respective topic.

6
6.0 Actual Resources Used
Sr. Name of Specifications Qty Remarks
No. Resource/material
1 Computer System 4-8 GB RAM, i3 1 Available
Processor, 256 GB
HDD
2 Operating System Windows 10 1 Available
3 Microsoft Office MS Word 1 Available
4 Internet Google Chrome, - Available
Mozilla Firefox
5 Turbo C++ OK 1 Available

7.0 Outputs of the Micro-Projects:


#include <conio.h>
#include <graphics.h>
#include <stdio.h>

// Driver Code
Void main()
{
Int gd = DETECT, gm;

// Initialize of gdriver with


// DETECT macros
Initgraph(&gd, &gm, “C:\\turboc3\\bgi”);

// Ground Outline
Rectangle(100, 50, 1200, 550);

// Coloring Green
Setfillstyle(SOLID_FILL, GREEN);
Floodfill(150, 150, 15);

// Ground Middle Line


Line(650, 50, 650, 550);
Line(656, 50, 656, 550);

// Coloring White
7
Setfillstyle(SOLID_FILL, WHITE);
Floodfill(652, 150, 15);

// Mid Circles
Circle(653, 300, 60);
Circle(653, 300, 65);
Circle(653, 300, 10);

// Outer Rectangle Left


Rectangle(100, 200, 250, 400);
Rectangle(100, 205, 245, 395);

// Inner Rectangle Left


Rectangle(100, 230, 200, 370);
Rectangle(100, 235, 195, 365);

// Arc Left Side


Arc(250, 300, 270, 90, 40);
Arc(250, 300, 270, 90, 35);

// Outer Rectangle Right


Rectangle(1200, 200, 1050, 400);
Rectangle(1200, 205, 1055, 395);

// Inner Rectangle Right


Rectangle(1200, 230, 1100, 370);
Rectangle(1200, 235, 1105, 365);

// Arc Right Side


Arc(1051, 300, 90, 270, 40);
Arc(1051, 300, 90, 270, 35);

// Coloring All White


Floodfill(714, 300, 15);
Floodfill(592, 300, 15);
Floodfill(657, 300, 15);
Floodfill(645, 300, 15);
Floodfill(247, 300, 15);

8
Floodfill(197, 300, 15);
Floodfill(287, 300, 15);
Floodfill(1053, 300, 15);
Floodfill(1103, 300, 15);
Floodfill(1013, 300, 15);

// Holding Screen For a While


Getch();

// Close the initialized gdriver


Closegraph();
}

8.0 Skill Developed / learning out of this Micro-Project:

 Enhances understanding of C programming, including syntax, loops,


functions, and data structures.
 Enhances understanding of C programming, including syntax, loops,
functions, and data structures.
 Improves knowledge of coordinate systems, transformations (translation,
rotation, scaling), and basic geometry for drawing and animating shapes.

9
 Develops the ability to break down complex tasks (like creating a flying
bird animation) into manageable parts, debugging, and optimizing code
for better performance.

THANK YOU!!

10

You might also like