0% found this document useful (0 votes)
119 views12 pages

Mickey Mouse

Uploaded by

shriyashphalle99
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)
119 views12 pages

Mickey Mouse

Uploaded by

shriyashphalle99
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/ 12

Mickey Mouse

Introduction:
In this project we have made mickey mouse using computer graphics
and C language. We have entered various funtions to draw it.
Created as a replacement for a prior Disney character, Oswald the
Lucky Rabbit, Mickey first appeared in the short Plane Crazy,
debuting publicly in the short film Steamboat Willie (1928), one of
the first sound cartoons. The character was originally to be named
“Mortimer Mouse”, until Lillian Disney instead suggested “Mickey”
during a train ride. The character went on to appear in over 130
films, including The Band Concert (1935), Brave Little Tailor (1938),
and Fantasia (1940). Mickey appeared primarily in short films, but
also occasionally in feature-length films. Ten of Mickey's cartoons
were nominated for the Academy Award for Best Animated Short
Film, one of which, Lend a Paw, won the award in 1941. In 1978,
Mickey became the first cartoon character to have a star on the
Hollywood Walk of Fame.
What is mickey mouse?
Mickey Mouse is an animated cartoon character co-created in 1928
by Walt Disney and Ub Iwerks. The longtime mascot of The Walt
Disney Company, Mickey is an anthropomorphic mouse who typically
wears red shorts, large yellow shoes, and white gloves. Taking
inspiration from such silent film personalities as Charlie Chaplin’s
Tramp, Mickey is traditionally characterized as a sympathetic
underdog who gets by on pluck and ingenuity. The character’s status
as a small mouse was personified through his diminutive stature and
falsetto voice, the latter of which was originally provided by Disney.
Mickey is one of the world's most recognizable and universally
acclaimed fictional characters of all time.
Mickey Mouse was created as a replacement for Oswald the Lucky
Rabbit, an earlier cartoon character that was created by the Disney
studio but owned by Universal Pictures. Charles Mintz served as a
middleman producer between Disney and Universal through his
company, Winkler Pictures, for the series of cartoons starring
Oswald.
C program for creating mickey mouse:

#include<stdio.h>
#include<conio.h>
#include<graphics.h>
#include<dos.h>
void main()
{

int gd= DETECT,gm,i,x;


clrscr();
initgraph(&gd,&gm,"C:\\TC\\BGI");
setcolor(15);
setfillstyle(1,15);
rectangle(20,30,(getmaxx()-20),(getmaxy()-20));
floodfill(200,200,15);
delay(10);
outtextxy(10,10,"Press Enter to Blink");
outtextxy(10,20,"Press Again to Look Here & There");
//ears
setcolor(0);
setfillstyle(1,0);
circle(175,110,70);
floodfill(175,110,0);
delay(10);
setcolor(0);
setfillstyle(1,0);
circle(425,110,70);
floodfill(425,110,0);
delay(10);
setcolor(0);
setfillstyle(1,0);
circle(300,275,153);
floodfill(300,275,0);
delay(10);
//face
setcolor(6);
setfillstyle(1,6);
sector(270,310,62,180,65,140);
sector(330,310,0,117,65,140);
ellipse(335,360,-80,70,170,55);
fillellipse(335,360,170,55);
ellipse(265,360,110,260,170,55);
fillellipse(265,360,170,55);
ellipse(300,398,190,350,70,40);
fillellipse(300,398,70,40);
delay(10);
//Left out part of the face
setcolor(6);
setfillstyle(1,6);
rectangle(240,190,360,400);
floodfill(300,295,6);
delay(10);
//eyes
setcolor(15);
setfillstyle(1,15);
sector(270,310,0,180,20,80);
floodfill(270,310,15);
delay(10);
setcolor(15);
setfillstyle(1,15);
sector(330,310,0,180,20,80);
floodfill(330,310,15);
delay(10);
setcolor(0);
setfillstyle(1,0);
sector(260,310,0,180,10,30);
floodfill(260,310,0);
sector(320,310,0,180,10,30);
floodfill(320,310,0);
//lips
setcolor(0);
setfillstyle(1,0);
sector(300,398,180,360,20,20);
floodfill(300,398,0);
delay(10);
setcolor(RED);
setfillstyle(1,RED);
sector(300,407,-200,360,16,10);
floodfill(300,407,RED);
delay(10);
//nose
setcolor(0);
setfillstyle(1,0);
ellipse(300,345,0,360,35,25);
floodfill(300,345,0);
delay(10);
setcolor(8);
setfillstyle(1,8);
circle(290,355,2);
floodfill(290,355,8);
delay(10);
//Smile and nose lines
setcolor(0);
ellipse(300,350,60,120,150,40);
arc(300,275,230,310,124);
arc(365,380,0,70,20);
arc(235,375,110,180,20);

delay(10);
getch();
while(!kbhit())
{
//eyes blink
setcolor(6);
setfillstyle(1,6);
sector(270,310,0,182,35,90);
floodfill(270,270,6);
delay(10);
setcolor(0);
ellipse(300,350,60,120,150,40);
ellipse(270,235,250,290,90,50);
line(240,285,300,285);
ellipse(270,335,70,110,90,50);
for(i=500;i<=1000;i=i+500)
{
sound(i);
delay(25);
}
nosound();
delay(500);
//eyes back
setcolor(6);
setfillstyle(1,6);
sector(270,310,0,182,35,90);
floodfill(270,270,6);
delay(10);
setcolor(0);
ellipse(300,350,60,120,150,40);
delay(10);
setcolor(15);
setfillstyle(1,15);
sector(270,310,0,180,20,80);
floodfill(270,310,15);
delay(10);
setcolor(0);
setfillstyle(1,0);
sector(260,310,0,180,10,30);
floodfill(260,310,0);
delay(1000);
}
getch();
while(!kbhit())
{
x=0;
while(x<=20)
{
setcolor(15);
setfillstyle(1,15);
sector(270,310,0,180,20,80);
floodfill(270,310,15);
delay(10);
setcolor(15);
setfillstyle(1,15);
sector(330,310,0,180,20,80);
floodfill(330,310,15);
delay(10);
setcolor(0);
setfillstyle(1,0);
sector(260+x,310,0,180,10,30);
floodfill((260+x),310,0);
sector((320+x),310,0,180,10,30);
floodfill((320+x),310,0);
x=x+20;
delay(500);
}
for(i=500;i<1000;i=i+500);
{
sound(i);
delay(25);
}
nosound();
x=0;
while(x<=20)
{
setcolor(15);
setfillstyle(1,15);
sector(270,310,0,180,20,80);
floodfill(270,310,15);
delay(10);
setcolor(15);
setfillstyle(1,15);
sector(330,310,0,180,20,80);
floodfill(330,310,15);
delay(10);
setcolor(0);
setfillstyle(1,0);
sector((280-x),310,0,180,10,30);
floodfill((280-x),310,0);
sector((340-x),310,0,180,10,30);
floodfill((340-x),310,0);
x=x+20;
delay(500);
}
for(i=500;i<1000;i=i+500);
{
sound(i);
delay(25);
}
nosound();
}
getch();
closegraph();
}
Output:
********

You might also like