0% found this document useful (0 votes)
71 views19 pages

CGR Micro Project Report With Diary

This document describes creating an animated character of Doremon in C programming. It includes introducing the project, listing the aims and outcomes. It also details the required resources, provides the algorithm and flowchart, and includes the program code to create an animated Doremon character.

Uploaded by

tapstaps902
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)
71 views19 pages

CGR Micro Project Report With Diary

This document describes creating an animated character of Doremon in C programming. It includes introducing the project, listing the aims and outcomes. It also details the required resources, provides the algorithm and flowchart, and includes the program code to create an animated Doremon character.

Uploaded by

tapstaps902
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/ 19

ANIMATED CHARACTER “DOREMON”

Micro Project Report

Title: Anime Character “Doremon”

1.0 Introduction:
This project pays homage to the Doraemon beloved animated character by harnessing the
power of C programming and animation techniques to create an interactive and animated
Doremon character. Throughout this report, we will delve into the intricate process of
designing, coding, and animating our very own Doremon.

2.0 Aim of Project:


1. Display graphics: Provide the ability to view image in a graphic mode.

2. Simplicity: Keep the program simple and accessible for users of all skill levels.

3. Education: Serve as a learning exercise for basic programming and graphic designing.

4. Turbo C Compatibility: Ensure the program runs smoothly within the Turbo C
environment.

5. Limited Scope: Acknowledge the limitations of the program, such as the lack of advanced
features.

6. Usability: Offer a practical tool for individuals interested in animation and graphics.

3.0 Course Outcome Addressed:


CO1: Basic Geometric Functions

CO2: Problem Solving

CO3: User Interface Design

CO4: Graphic Designing

SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC YADRAV 1


ANIMATED CHARACTER “DOREMON”

4.0 Resources Required:

Sr. Name of Resources Specification Qty. Remark


No.
1
Computer system OS windows 11 1 It is used to create the
professional Processor- project.
Intel core i5
E7500 RAM-8GB

2 -
1. Google Chrome 1 1. It is used for searching
the information of the
project
-
2. Microsoft office 2023 1 2. It is used to create the
project, report and
proposal.

Turbo C++ 2012 VERSION 1 3. To create program


3

SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC YADRAV 2


ANIMATED CHARACTER “DOREMON”

5.0 Algorithm

Below is a step-by-step algorithm for the code:


1. Include necessary header files:
#include<stdio.h> for standard input and output.
#include<conio.h> for console input and output functions.
#include<process.h> for process control functions.
#include<graphics.h> for graphics functions.
#include<math.h> for mathematical functions.
#include<ctype.h> for character handling functions.
#include<stdlib.h> for general-purpose functions.
#include<dos.h> for DOS-specific functions.

2. Declare global variables a and b with initial values.

3. Define functions.
i. Define a function nose:
Set the drawing color to red.
Draw a series of concentric circles to create a nose.
Define a function beltball:
ii. Set the drawing color to yellow.
Draw a series of concentric circles to create a belt ball.
iii. Define a function belt:
Set the drawing color to red.
Draw rectangles to create a belt.
iv. Define a function eye:
Set the drawing color to white.
Draw ellipses and circles to create the character's eyes.

SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC YADRAV 3


ANIMATED CHARACTER “DOREMON”

v. Define a function insidemouth:


Set the drawing color to red.
Draw ellipses and circles to create the inside of the character's mouth.

vi. Define a function must:


Set the drawing color to red.
Draw ellipses to create the character's mustache.

vii. Define a function cheek:


Set the drawing color to blue.
Draw ellipses to create the character's cheeks.

viii. Define a function bigcheek:


Set the drawing color to blue.
Draw an ellipse to create a big cheek.

3. In the main function:


Initialize graphics using the Turbo C graphics library.
Call the functions defined above to draw various parts of the character.
Set the text style and display the text "Doraemon."
Draw various lines, circles, and ellipses to create the character's body and
features.
Wait for a key press using getch() to keep the graphics window open.

4. End the program.

SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC YADRAV 4


ANIMATED CHARACTER “DOREMON”

6.0 Flowchart
START

DECLARE VARIABLE a AND b WITH INITIAL


VALUE

DEFINE FUNCTIONS

SET THE TEXT STYLE

DRAW LINES, CIRCLES, AND ELLIPSES

DISPLAY THE TEXT "DOREMON"

DISPLAY ANIME "DOREMON"

END

SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC YADRAV 5


ANIMATED CHARACTER “DOREMON”

7.0 Program Code: -

#include<stdio.h>
#include<conio.h>
#include<process.h>
#include<graphics.h>
#include<math.h>
#include<ctype.h>
#include<stdlib.h>
#include<dos.h>
int a=300, b=100;
void nose()
{
setcolor(RED);
circle(115+a,b+30,10);
circle(115+a,b+30,9);
circle(115+a,b+30,8);
circle(115+a,b+30,7);
circle(115+a,b+30,6);
circle(115+a,b+30,5);
circle(115+a,b+30,4);
circle(115+a,b+30,3);
circle(115+a,b+30,2);
circle(115+a,b+30,1);
circle(115+a,b+30,0);
}
void beltball()
{
setcolor(YELLOW);

SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC YADRAV 6


ANIMATED CHARACTER “DOREMON”

circle(115+a,117+b,7); // ballbelt
circle(115+a,117+b,6); // ballbelt
circle(115+a,117+b,5); // ballbelt
circle(115+a,117+b,4); // ballbelt
circle(115+a,117+b,3); // ballbelt
circle(115+a,117+b,2);// ballbelt
circle(115+a,117+b,1);// ballbelt
}
void belt()
{
setcolor(RED);
rectangle(160+a,110+b,65+a,115+b); //belt
rectangle(160+a,111+b,65+a,115+b); //belt
rectangle(160+a,112+b,65+a,115+b); //belt
rectangle(160+a,113+b,65+a,115+b); //belt
rectangle(160+a,114+b,65+a,115+b); //belt
}
void eye()
{
setcolor(WHITE);
ellipse(100+a,b,0,360,15,25); // eyes right
ellipse(100+a,b,0,360,14,24); // eyes right
ellipse(100+a,b,0,360,13,23); // eyes right
ellipse(100+a,b,0,360,12,22); // eyes right
ellipse(100+a,b,0,360,11,21); // eyes right
ellipse(100+a,b,0,360,10,20); // eyes right
ellipse(100+a,b,0,360,9,19); // eyes right
ellipse(100+a,b,0,360,8,18); // eyes right
ellipse(100+a,b,0,360,7,17); // eyes right
ellipse(100+a,b,0,360,6,16); // eyes right

SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC YADRAV 7


ANIMATED CHARACTER “DOREMON”

ellipse(100+a,b,0,360,5,15); // eyes right


ellipse(100+a,b,0,360,5,14); // eyes right
ellipse(100+a,b,0,360,5,13); // eyes righ
ellipse(100+a,b,0,360,5,12); // eyes right
ellipse(100+a,b,0,360,5,13); // eyes right
ellipse(100+a,b+10,0,360,5,15); // eyes right
ellipse(100+a,b+5,0,360,5,15); // eyes right
ellipse(100+a,b+5,0,360,5,16); // eyes right
ellipse(100+a,b+5,0,360,5,17); // eyes right
ellipse(100+a,b+5,0,360,4,18); // eyes right
ellipse(100+a,b+5,0,360,5,12); // eyes right
ellipse(100+a,b+5,0,360,5,13); // eyes right
ellipse(100+a,b+5,0,360,5,14); // eyes right
ellipse(100+a,b+5,0,360,5,10); // eyes right
ellipse(100+a,b+5,0,360,5,9); // eyes right
ellipse(100+a,b,0,360,15,25); // eyes right
circle(100+a,b+5,15); // small eye
circle(103+a,b+5,8); // small eye
circle(103+a,b+5,8); // small eye
circle(100+a,b+6,1);// inside small
circle(100+a,b+6,0);
ellipse(130+a,b,0,360,15,25); // eye left
ellipse(130+a,b,0,360,14,25); // eye left
ellipse(130+a,b,0,360,13,25); // eye left
ellipse(130+a,b,0,360,12,25); // eye left
ellipse(130+a,b,0,360,11,25); // eye left
ellipse(130+a,b,0,360,10,25); // eye left
ellipse(130+a,b,0,360,9,25); // eye left
ellipse(130+a,b,0,360,8,25); // eye left
ellipse(130+a,b,0,360,8,24); // eye left

SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC YADRAV 8


ANIMATED CHARACTER “DOREMON”

ellipse(130+a,b,0,360,8,23); // eye left


ellipse(130+a,b,0,360,8,22); // eye left
ellipse(130+a,b,0,360,8,15); // eye left
ellipse(130+a,b,0,360,8,14); // eye left
ellipse(130+a,b,0,360,8,21); // eye left
ellipse(130+a,b,0,360,8,20); // eye left
ellipse(130+a,b,0,360,8,19); // eye left
ellipse(130+a,b,0,360,8,18); // eye left
ellipse(130+a,b,0,360,8,17); // eye left
ellipse(130+a,b,0,360,8,16); // eye left
ellipse(130+a,b,0,360,8,13); // eye left
ellipse(130+a,b+2,0,360,8,13); // eye left
ellipse(130+a,b+3,0,360,8,13); // eye left
ellipse(130+a,b+4,0,360,8,13); // eye left
ellipse(130+a,b+5,0,360,8,13); // eye left
ellipse(130+a,b+6,0,360,8,13); // eye left
ellipse(130+a,b+7,0,360,8,13); // eye left
ellipse(130+a,b+8,0,360,8,13); // eye left
ellipse(130+a,b+8,0,360,8,13); // eye left
ellipse(128+a,b+8,0,360,8,13); // eye left
ellipse(129+a,b+8,0,360,8,13); // eye left
ellipse(127+a,b+8,0,360,8,13); // eye left
ellipse(132+a,b+9,0,360,8,13); // eye left after 2431
ellipse(133+a,b+10,0,360,8,13); // eye left
ellipse(131+a,b+12,0,360,8,13); // eye left
ellipse(130+a,b+12,0,360,8,13); // eye left
ellipse(130+a,b+12,0,360,8,13); // eye left
circle(131+a,b+7,0); // inside small 0 1324
}
void insidemouth()

SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC YADRAV 9


ANIMATED CHARACTER “DOREMON”

{
setcolor(RED);
ellipse(105+a,b+85,30,180,10,10); // inside mouth left
ellipse(105+a,b+86,30,180,10,10); // inside mouth left
ellipse(105+a,b+87,30,180,10,10); // inside mouth left
ellipse(105+a,b+88,30,180,10,10); // inside mouth left
ellipse(105+a,b+89,30,180,10,10); // inside mouth left
ellipse(105+a,b+90,30,180,10,10); // inside mouth left
ellipse(105+a,b+91,30,180,10,10); // inside mouth left
ellipse(105+a,b+92,30,180,10,10); // inside mouth left
ellipse(105+a,b+93,30,180,10,10); // inside mouth left
ellipse(105+a,b+94,30,180,10,10); // inside mouth left
ellipse(105+a,b+95,30,180,10,10); // inside mouth left
ellipse(105+a,b+96,30,180,10,10); // inside mouth left
ellipse(105+a,b+97,30,180,10,10); // inside mouth left
setcolor(BLACK);
circle(92+a,b+92,5);
circle(92+a,b+92,4);
circle(92+a,b+92,3);
circle(92+a,b+92,2);
circle(92+a,b+92,1);
circle(92+a,b+93,5);
circle(93+a,b+91,5);
setcolor(RED);
ellipse(129+a,b+84,30,160,16,10); // inside mouth right
ellipse(129+a,b+85,30,160,16,10); // inside mouth right
ellipse(129+a,b+86,30,160,16,10); // inside mouth right
ellipse(129+a,b+87,30,160,16,10); // inside mouth right
ellipse(129+a,b+88,30,160,16,10); // inside mouth right
ellipse(129+a,b+89,30,160,16,10); // inside mouth right

SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC YADRAV 10


ANIMATED CHARACTER “DOREMON”

ellipse(129+a,b+90,30,160,16,10); // inside mouth right


ellipse(129+a,b+91,30,160,16,10); // inside mouth right
ellipse(129+a,b+92,30,160,16,10); // inside mouth right
ellipse(129+a,b+93,30,160,16,10); // inside mouth right
ellipse(129+a,b+94,30,160,16,10); // inside mouth right
ellipse(129+a,b+95,30,160,16,10); // inside mouth right
ellipse(129+a,b+96,30,160,16,10); // inside mouth right
ellipse(129+a,b+97,30,160,16,10); // inside mouth right
setcolor(BLACK);
circle(114+a,b+97,5);
circle(114+a,b+97,4);
circle(114+a,b+97,3);
circle(114+a,b+97,2);
circle(114+a,b+97,1);
circle(114+a,b+97,0);
circle(140+a,b+88,4);
circle(140+a,b+88,3);
circle(140+a,b+88,2);
circle(140+a,b+88,1);
circle(140+a,b+88,0);
circle(140+a,b+91,5);
circle(140+a,b+91,4);
circle(140+a,b+91,3);
circle(140+a,b+91,2);
circle(140+a,b+91,1);
circle(140+a,b+91,0);
circle(139+a,b+97,10);
circle(139+a,b+97,9);
circle(139+a,b+97,8);
circle(139+a,b+97,7);

SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC YADRAV 11


ANIMATED CHARACTER “DOREMON”

circle(139+a,b+97,6);
circle(139+a,b+97,5);
circle(139+a,b+97,4);
}
void must()
{
setcolor(RED);
ellipse(147+a,b+52,280,90,22,15); // right cheek
ellipse(80+a,b+53,80,270,22,13); // left cheek
}
void cheek()
{
setcolor(BLUE);
ellipse(85+a,b+55,90,240,42,62); // left big cheek
ellipse(144+a,b+52,290,90,42,62); // right big cheek'
}
void bigcheek()
{
setcolor(BLUE);
ellipse(105+a,b+35,90,240,80,85); // left final cheek
}
void main()
{
int gd=DETECT,gm;
initgraph(&gd,&gm,"c:\\turboc3\\bgi");
eye();
belt();
beltball();
nose();
insidemouth();

SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC YADRAV 12


ANIMATED CHARACTER “DOREMON”

must();
cheak();
bigcheak();
setcolor(WHITE);
setcolor(RED);
// settextstyle(101,0,100);
settextstyle(5,HORIZ_DIR,6);
outtextxy(50,30,"doreamon");
// setcolor(WHITE);
line(115+a,b+41,115+a,60+b); // nose long
setcolor(5);
ellipse(115+a,b+70,10,160,40,10); // upper mouth
ellipse(115+a,b+70,180,0,32,20); // lower mouth
setcolor(WHITE);
setcolor(BLUE);
ellipse(105+a,b+35,90,240,80,85); // left final cheakki
ellipse(135+a,b+32,290,90,70,82); // right final cheek
ellipse(120+a,b-50,0,180,20,1);
// setcolor(BLACK);
setcolor(WHITE);
ellipse(110+a,120+b,180,0,50,70); // big bout
line(80+a,140+b,140+a,140+b); // bout line smaall
ellipse(110+a,140+b,180,0,30,30); // small bout
setcolor(BLUE);
ellipse(50+a,170+b,130,260,10,56); // lesft hand leg
ellipse(180+a,176+b, 300,70,10,54); // rightf hanh leg
setcolor(WHITE);
line(50+a,225+b,100+a,225+b); // line leg down left
line(125+a,225+b,185+a,225+b); // line leg down right
setcolor(BLUE);

SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC YADRAV 13


ANIMATED CHARACTER “DOREMON”

ellipse(113+a,224+b,0,180,12,18); // up to lefiiifus
setcolor(WHITE);
ellipse(50+a,236+b,80,270,20,10); //left left toe
ellipse(130+a,236+b,80,270,15,10); // left toe of right lefg
ellipse(90+a,234+b,270,80,20,10); // right left toe
ellipse(180+a,234+b,270,80,20,10); // right to right toe
line(130+a,245+b,180+a,245+b); // right toe
line(50+a,245+b,90+a,245+b); // left leg
setcolor(WHITE);
circle(a-5,168+b,15);
setfillstyle(1, WHITE); floodfill(a-5,168+b,WHITE);
circle(230+a,167+b,15);
setfillstyle(1,WHITE); floodfill(230+a,167+b,WHITE);
// left hand handfingers
//-/////////*/-/*/*/* hand*-///*--/*/---------/*-/
setcolor(BLUE); line(60+a,110+b,40+a,115+b); // lefti continu
line(40+a,115+b,20+a,128+b);
line(20+a,128+b, a,145+b);
line(a, 145+b,a-18,160+b);
line(a, 182+b,20+a,168+b);
line(20+a,168+b,40+a,160+b);
// right hand
line(160+a,110+b,180+a,112+b);
line(180+a,112+b,200+a,120+b);
line(200+a,120+b,220+a,135+b);
line(220+a,135+b,240+a,155+b);
line(220+a,179+b,200+a,165+b);
line(200+a,165+b,190+a,160+b);
getch();
}

SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC YADRAV 14


ANIMATED CHARACTER “DOREMON”

8.0 Output of the Program Code:

9.0 Advantages:
- Provides a basic interface to view image.
- User-friendly approach.
- Games and Entertainment
- Art and Creativity

10.0 Limitations:
- Limited to console interface.
- Lacks advanced features such as editing.
- Uses outdated Turbo C environment.

SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC YADRAV 15


ANIMATED CHARACTER “DOREMON”

11.0 Conclusion:
In the end, animating a character like Doraemon using C programming is not only a technical
achievement but also an opportunity for artistic expression and storytelling. It showcases the
versatility of C as a programming language and its ability to handle graphics and animations,
making it possible to bring beloved characters to life in a digital world. This endeavour not
only demonstrates the potential of programming but also highlights the enduring charm of
characters like Doraemon in the realm of technology and creativity.

12.0 References:
 Turbo C Documentation and Resources
 https://chat.openai.com/
 https://bard.google.com/?utm_source=sem&utm_medium=paid-
media&utm_campaign=q3enIN_sem6
 Guided by Mrs. S. M. Kuwarkar

SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC YADRAV 16


ANIMATED CHARACTER “DOREMON”

Project Diary

BY

Ms. Tasmiya Firoj Nadaf 25034


Ms. Vedika Mahesh Nagarkar 25035
Ms. Varsha Sanjay Nimbalkar 25036
Ms. Samedha Adinath Patil 25037

Students
Sr.no Date Work done Hours Guide sign
sign
1. 10-7-23 At first, we made the 15 min
group of 5 members.

2. 20-7-23 Searched Project 1 hour


Subject.

3. 28-7-23 We took suggestions 15 min


from our guide for
selecting our project

4. 15-8-23 After selection of 1 hour


project topic wise
searched the basic
information related to it

SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC YADRAV 17


ANIMATED CHARACTER “DOREMON”

5. 30-8-23 Then the collection of 1 hour


information was done. 30 min

6. 5-9-23 Later we visited to our 30 min


guide for suggesting us
some more
information on topic
and some corrections
in collected
information.
7. 10-9-23 If there were some 1 hour
corrections then it was
corrected.

8. 15-9-23 After correcting it, we 30 min


again visited our guide
to show the corrections.

9. 20-9-23 Then we started 1 hour


searching some more
information on the
topic (for gaining some
more knowledge).

10. 25-9-23 We had a visit to our 30 min


guide after searching
some information.

11. 5-10-23 Some suggestions were 30 min


guided and we tried to
make it correct as per
the guide's requirement.

SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC YADRAV 18


ANIMATED CHARACTER “DOREMON”

12. 12-10-23 After making some 20 min


changes we again had a
visit to our guide.

13. 15-10-23 Then we started 1 hour


implementing it on the 30 min
required Software

14. 18-10-23 Then by that time, we 40 min


made the project report.

15. 20-10-23 We had visited to our 1 hour


guide to present our
project.

16. 23-10-23 Then we finally 1 hour


submitted our project
and project report till
this date.

SHARAD INSTITUTE OF TECHNOLOGY, POLYTECHNIC YADRAV 19

You might also like