MITHULALJI SARDA POLYTECHNIC,
BEED
Micro project on
“Tree Animation”
Submitted by
Akshay Satish Arsul
Under the guidance of
Shaikh.K.F.
For the subject
Computer Graphics
Department Of
Computer Science and Engineering
2023-24
CERTIFICATE
This is to certify that Arsul Akshay
Satish from Mithulalji Sarda Polytechnic
Beed Institute having Enrollment no.
2214920327 has Completed Micro
project of second year CGR subject
having Title Tree Animation during
academic year 2023-24 The Project
completed by student under the guidance
of the faculty Shaikh.K.F.
Name and signature of guide
……………………………………………….
Annexure-I
A MICRO PROJECT ON “Color Changing
Tree With Different Colorful Changing
Fonts “
1.0 Aims/Benefits of the micro
project
Create a moving animation of N
number of the color-changing tree
with color-changing fonts with a
loading animation.
Benefit Taken from this micro-
project is understanding the
concept of making an animation
using different shapes.
2.0 Course outcome addressed.
Manipulate visual and geometric
information of images.
Implement standard algorithms to
draw various graphics objects using the
C program.
Develop programs for 2D and 3D
transformation.
Use projections to visualize objects on
the view plane .
Implement various clipping algorithms.
Develop programs to create curves
using algorithms
3.0 Proposed methodology
Focused on the selection of an
appropriate topic for the micro-
project.
2. Select the topic i.e. To Prepare a
report on moving animation using
computer graphics.
3. Brief study on our topic.
4. Gather all information based on the
topic of the micro project.
5. Analysis and study of our topic in
detail.
6. Following all the above
methodologies we successfully
completed our microproject.
[Link]
• Hardware
Processor : Intel i3, Intel i5
Ram : 4gb/8gb
Hard disk : 500gb
Software
Operating system : windows2000 or later
of
windows
Fronted Software : dev c++/ vs code
Backend Software : MS Access
[Link] Used
Help from internet , following websites,links
have been used in the completion of this
project file
Websites : https.//[Link]
https:[Link]
Following books are used ito have an idea
about this project
Books : Computer Graphics
Annexure-II
Micro-Project Report
A MICRO PROJECT ON “Color Changing
Tree With Different Colorful Changing
Fonts”
1. Brief Introduction/Rationale
Pixel : A pixel (short for picture element) is a
single point in a picture. On the monitor of a
computer, a pixel is usually a square. Every pixel
has a color and all the pixels jointly are the picture
Graphics :What are graphics? Graphics are
visual images or designs on some surface, such as
a wall, canvas, screen, paper, or stone to inform,
present, or entertain. In contemporary use, it
contains a pictorial illustration of data, as in
computer-aided design and manufacture, in
typesetting and the graphic arts, and in
educational and recreational software. Images
that are developed by a computer are called
computer graphics.
BELOW FIGURE BELOW DISPLAYS THE BASIC
GRAPHICS PIPELINE :
Examples are photographs, drawings, line art,
graphs, diagrams, typography, numbers, symbols,
geometric designs, maps, engineering drawings,
or other images. Graphics often merge text,
illustration, and color. Graphic design may consist
of the intended selection, creation, or
arrangement of typography alone, as in a
brochure, flyer, poster, website, or book without
any other element. Clearness or effective
communication may be the objective, a link with
other cultural elements may be sought, or merely,
the creation of a distinctive style
Basic Function Syntaxes :
Program code builds in Turbo C
Compiler for animation :
C++
#include
#include
#include
#include
Void firstCrown()
{
Setfillstyle(SOLID_FILL,GREEN);
Line(300,40,200,100);
Line(300,40,400,100);
Ellipse(300,100,180,360,98,30);
Floodfill(310,50,WHITE);
}
Void secondCrown()
{
Setfillstyle(SOLID_FILL,MAGENTA);
Line(250,125,180,160);
Line(350,125,420,160);
Ellipse(300,160,180,360,120,30);
Floodfill(260,130,WHITE);
}
Void thirdCrown()
{
Setfillstyle(SOLID_FILL,GREEN);
Line(230,185,150,230);
Line(360,185,440,230);
Ellipse(295,230,180,360,145,30);
Floodfill(250,190,WHITE);
}
Void trunk()
{
Setfillstyle(SOLID_FILL,BROWN);
Line(280,260,280,350);
Line(320,260,320,350);
Line(280,350,320,350);
Floodfill(285,340,WHITE);
}
Void main()
{
Int gd = DETECT , gm ;
Initgraph(&gd,&gm,”C:\\TURBOC3\\BGI”);
Int I,n;
Printf(“W”);delay(50);
Printf(“E”);delay(50);
Printf(“L”);delay(50);
Printf(“C”);delay(50);
Printf(“O”);delay(50);
Printf(“M”);delay(50);
Printf(“E “);delay(50);
Printf(“T”);delay(50);
Printf(“O “);delay(50);
Printf(“O”);delay(50);
Printf(“U”);delay(50);
Printf(“R “);delay(50);
Printf(“\n-------CMPUTER “);delay(500);
Printf(“DEPARTMENT--------\n “);delay(500);
Printf(“I”);delay(50);
Printf(“N “);delay(50);
Printf(“T”);delay(50);
Printf(“H”);delay(50);
Printf(“I”);delay(50);
Printf(“S “);delay(50);
Printf(“ANIMATION “);delay(500);
Printf(“I “);delay(500);
Printf(“AM “);delay(500);
Printf(“SHOWING “);delay(500);
Printf(“YOU “);delay(500);
Printf(“ABOUT “);delay(500);
Printf(“A “);delay(500);
Printf(“COLOR “);delay(500);
Printf(“CHANGING “);delay(500);
Printf(“TREE “);delay(500);
Printf(“\n SO “);delay(500);
Printf(“PLEASE “);delay(500);
Printf(“WATCH “);delay(500);
Printf(“THIS “);delay(500);
Printf(“CAREFULLY “);delay(500);
Cleardevice();
Printf(“\nEnter Number of times you want to
change the color of tree:”);
Scanf(“%d”,&n);
For(i=0;i
ALGORITHOM OF ANIMATION
PROGRAM CODE :
ALGORITHM: To make a moving animation using
computer graphics.
INPUT: One number for color changing of the tree.
OUTPUT: N Number Of Color Changing Tree With
Various Colorful Changing Fonts.
Steps: 1. Start graphics by declaring gd=DETECT,
gm and defining this variable by Intergraph (&gd,
&gm, ”your computer turbo c address” );
[Link] the value of n.
[Link] LOADING SCREEN :
C++
Repeat steps 2 for(i=0;i
Outputs of the Micro-Project
SOME OUTPUT HAS GIVEN BELOW :
WELCOME TO OUR
----------COMPUTER DEPARTMENT ------------
IN THIS ANIMATION 1 AM SHOWING YOU ABOUT
A COLOUR CHANGING TREE
Enter Number Of Times You Want To Change The
Colour Of Tree