SlideShare a Scribd company logo
1 of 11
RAPTOR: ANIMATION
BY VITIAN ADARSH
DRAW SMILEY FACE
STEP 1:- START
STEP 2:- OPEN THE WINDOW
STEP 3:- DRAW THE BACKGROUND (clear window and
redraw background).
STEP 4:- PUT VALUE OF X CORDINATE (set the x coordinate
of the centre of the smiley face).
STEP 5:- PUT VALUE OF Y CORDINATE (set the y coordinate
of the centre of the smiley face).
STEP 6:- SET THE SMILEY FACE
STEP 7:- DRAW SMILEY FACE
LOOP
• WE HAVE TO APPLY LOOP BECAUSE WHEN WE
MAKE MOVEMENT OF SMILEY FACE THEN SOME
TYPE OF DISTURBANCE WILL BE GENERATED IN
THE BACKGROUND.
DRAW BACKGROUND
• STEP 1:- DRAW BACKGROUND (clear window and redraw
background).
• STEP 2 :- X=X+1 (here this representation is used for moving smiley
face).
• STEP 3 :- DRAW SMILEY (redraw the smiley face).
• STEP 4 :- UPGRADE GRAPH WINDOW (show completed image ).
• STEP 5 :- MOVE BUTTON PRESSED (left button)
• STEP 6 :- CLOSE GRAPH WINDOW.
OPENING OF WINDOW
• STEP 1 :- START
• STEP 2 :- OPEN_GRAPH_WINDOW(400,300),
• STEP 3 :- SET_WINDOW_TITLE (“SMILEY”)
• STEP 4 :- CLEAR_WINDOW (basically graph window sets the title and sets the background color
to
light cyan).
• STEP 5 :- [LIGHT_CYAN]
• STEP 6 :- FREEZE_GRAPH_WINDOW
• STEP 7 :- END
LOOP
• THE TWO SUBCHARTS ONLY MOVE EACH OBJECT
ONE STEP.
• THE REPEATED CALLS TO MOVE AND DRAW IN THE
LOOP IS WHAT ACTUALLY PRODUCES THE MOMENT.
DRAW AND MOVE TWO BALLS BY INITIALIZING
COORDINATES AFTER OPENING WINDOW
• STEP 1 :- START
• STEP 2 :- OPEN_WINDOW
• STEP 3 :- INITIAL CORDINATES
• BEFORE COMING TO STEP 4 FOR DRAWING BACKGROUND WE HAVE TO DO
LOOP PART AGAIN FOR THIS NEW ANIMATION.
DRAW BACKGROUND ND CIRCLE FOR THE
MOMENT OF TWO BALLS
• CONTINUE:-----
• STEP 4 :- DRAW BACKGROUND (clearing the window and redraw window).
• STEP 5 :- MOVE_GREEN_BALL
• STEP 6 :- DRAW CIRCLE (green_x_green_y)0.Green,True).
• STEP 7 :- MOVE RED_RED_BALL
• STEP 8 :- DRAW CIRCLE (red_x,red_y,20.Red,True).
• STEP 9 :- UPGRADE_GRAPH_WINDOW
• STEP 10 :- MOVE_BUTTON_PRESSED(left_button).
MOVEMENT OF GREEN BALL
STEP 1 :- START
STEP 2 :- GREEN_X implies GREEN_X + GREEN_DELTA_X(this step is used
for set the coordinates of x according to given color).
AFTER NEXT STEP WE WILL SEE THE CHANGES IN X COORDINATES OF
GREEN BALL
STEP 3 :-GREEN_X<10 OR GREEN_X>390
STEP 4 :- GREEN_X implies GREEN_DELTA_X[-1](here subtraction means
ball will go in opposite direction through x cordinate).
STEP 5 :-GREEN_Y implies GREEN_Y+GREEN_DELTA_Y
STEP 6 :-GREEN_Y<10 OR GREEN_Y>290
STEP 7 :- GREEN_Y implies GREEN__DELTA_Y[-1](here same subtraction
will move ball in opposite direction through y coordinate).
STEP 8 :- TIME TAKEN AS ZERO.
STEP 9 :-END
MOVEMENT OF RED BALL
STEP 1:- START
SAME PROCESS WE HAVE TO APPLY OR DEAL WITH THIS BALL ALSO.
STEP 2 :-TIME=TIME+1
STEP 3 :-RED_X implies SIN(time*pi/180)*100+200
STEP 4 :-RED_Y implies COS(time*pi/180)*100 implies 150.
STEP 5 :- END
Animation Is One Of The Best,
interesting And Attractive Part
To Do In Raptor.
THANK YOU FOR WATCHING THIS.

More Related Content

What's hot

бие даалт № 1 borland c++
бие даалт № 1 borland c++бие даалт № 1 borland c++
бие даалт № 1 borland c++2011bonus
 
U.cs101 алгоритм программчлал-3
U.cs101   алгоритм программчлал-3U.cs101   алгоритм программчлал-3
U.cs101 алгоритм программчлал-3Badral Khurelbaatar
 
Өгөгдлийн бүтэц
Өгөгдлийн бүтэцӨгөгдлийн бүтэц
Өгөгдлийн бүтэцMuuluu
 
u.cs101 "Алгоритм ба програмчлал" Лекц №3
u.cs101 "Алгоритм ба програмчлал" Лекц №3u.cs101 "Алгоритм ба програмчлал" Лекц №3
u.cs101 "Алгоритм ба програмчлал" Лекц №3Khuder Altangerel
 
11-р ангийн мэдээлэл зүйн тест
11-р ангийн мэдээлэл зүйн тест11-р ангийн мэдээлэл зүйн тест
11-р ангийн мэдээлэл зүйн тестDagii Dagii
 
U.cs101 алгоритм программчлал-14
U.cs101   алгоритм программчлал-14U.cs101   алгоритм программчлал-14
U.cs101 алгоритм программчлал-14Badral Khurelbaatar
 
давталттай алгоритм
давталттай алгоритмдавталттай алгоритм
давталттай алгоритмBurotino Iosifob
 
хиех ба хбех
хиех ба хбеххиех ба хбех
хиех ба хбехHorloo Ebika
 
D. tumen ulzii tsahim uzuulen
D. tumen ulzii tsahim uzuulenD. tumen ulzii tsahim uzuulen
D. tumen ulzii tsahim uzuulenolzii555
 

What's hot (20)

Өгөгдлийн бүтэц 15
Өгөгдлийн бүтэц 15Өгөгдлийн бүтэц 15
Өгөгдлийн бүтэц 15
 
бие даалт № 1 borland c++
бие даалт № 1 borland c++бие даалт № 1 borland c++
бие даалт № 1 borland c++
 
U.cs101 алгоритм программчлал-3
U.cs101   алгоритм программчлал-3U.cs101   алгоритм программчлал-3
U.cs101 алгоритм программчлал-3
 
Өгөгдлийн бүтэц 13
Өгөгдлийн бүтэц 13Өгөгдлийн бүтэц 13
Өгөгдлийн бүтэц 13
 
Computer zagwarchlal
Computer zagwarchlalComputer zagwarchlal
Computer zagwarchlal
 
Өгөгдлийн бүтэц 2-3
Өгөгдлийн бүтэц 2-3Өгөгдлийн бүтэц 2-3
Өгөгдлийн бүтэц 2-3
 
Өгөгдлийн бүтэц
Өгөгдлийн бүтэцӨгөгдлийн бүтэц
Өгөгдлийн бүтэц
 
массив
массивмассив
массив
 
u.cs101 "Алгоритм ба програмчлал" Лекц №3
u.cs101 "Алгоритм ба програмчлал" Лекц №3u.cs101 "Алгоритм ба програмчлал" Лекц №3
u.cs101 "Алгоритм ба програмчлал" Лекц №3
 
11-р ангийн мэдээлэл зүйн тест
11-р ангийн мэдээлэл зүйн тест11-р ангийн мэдээлэл зүйн тест
11-р ангийн мэдээлэл зүйн тест
 
Lecture1
Lecture1Lecture1
Lecture1
 
U.cs101 алгоритм программчлал-14
U.cs101   алгоритм программчлал-14U.cs101   алгоритм программчлал-14
U.cs101 алгоритм программчлал-14
 
алгоритм 10 р анги
алгоритм 10 р ангиалгоритм 10 р анги
алгоритм 10 р анги
 
Лекц №12
Лекц №12Лекц №12
Лекц №12
 
давталттай алгоритм
давталттай алгоритмдавталттай алгоритм
давталттай алгоритм
 
хиех ба хбех
хиех ба хбеххиех ба хбех
хиех ба хбех
 
Ood lesson9 activity
Ood lesson9 activityOod lesson9 activity
Ood lesson9 activity
 
D. tumen ulzii tsahim uzuulen
D. tumen ulzii tsahim uzuulenD. tumen ulzii tsahim uzuulen
D. tumen ulzii tsahim uzuulen
 
2 факториал
2 факториал2 факториал
2 факториал
 
Өгөгдлийн бүтэц 12
Өгөгдлийн бүтэц 12Өгөгдлийн бүтэц 12
Өгөгдлийн бүтэц 12
 

Similar to Animation in raptor (ppt).

In this exercise, youre going to begin building a countdown timer..docx
In this exercise, youre going to begin building a countdown timer..docxIn this exercise, youre going to begin building a countdown timer..docx
In this exercise, youre going to begin building a countdown timer..docxsleeperharwell
 
6 - mapping diagrams; functions as words & equations; input-output tables, r...
6  - mapping diagrams; functions as words & equations; input-output tables, r...6  - mapping diagrams; functions as words & equations; input-output tables, r...
6 - mapping diagrams; functions as words & equations; input-output tables, r...Anthony_Maiorano
 
Computer Graphics Report
Computer Graphics ReportComputer Graphics Report
Computer Graphics ReportKoshy Geoji
 
Linear Functions Presentation
Linear Functions PresentationLinear Functions Presentation
Linear Functions PresentationMelanie Loslo
 
Notes completing the square
Notes   completing the squareNotes   completing the square
Notes completing the squareLori Rapp
 
1 Instructions Solve the following problems, showing all.docx
 1 Instructions Solve the following problems, showing all.docx 1 Instructions Solve the following problems, showing all.docx
1 Instructions Solve the following problems, showing all.docxjoyjonna282
 
How to Make a Web 2.0 Play Button in Adobe Illustrator CS6
How to Make a Web 2.0 Play Button in Adobe Illustrator CS6How to Make a Web 2.0 Play Button in Adobe Illustrator CS6
How to Make a Web 2.0 Play Button in Adobe Illustrator CS6ZillionDesigns
 
DID Unit 4: Tutorials and Project
DID Unit 4: Tutorials and ProjectDID Unit 4: Tutorials and Project
DID Unit 4: Tutorials and ProjectMrLawler
 
DID Unit 4: Tutorials and Project
DID Unit 4: Tutorials and ProjectDID Unit 4: Tutorials and Project
DID Unit 4: Tutorials and ProjectMrLawler
 
Heapsortokkay
HeapsortokkayHeapsortokkay
HeapsortokkayRemesha
 
solving equations
solving equationssolving equations
solving equationssahr1jd
 

Similar to Animation in raptor (ppt). (11)

In this exercise, youre going to begin building a countdown timer..docx
In this exercise, youre going to begin building a countdown timer..docxIn this exercise, youre going to begin building a countdown timer..docx
In this exercise, youre going to begin building a countdown timer..docx
 
6 - mapping diagrams; functions as words & equations; input-output tables, r...
6  - mapping diagrams; functions as words & equations; input-output tables, r...6  - mapping diagrams; functions as words & equations; input-output tables, r...
6 - mapping diagrams; functions as words & equations; input-output tables, r...
 
Computer Graphics Report
Computer Graphics ReportComputer Graphics Report
Computer Graphics Report
 
Linear Functions Presentation
Linear Functions PresentationLinear Functions Presentation
Linear Functions Presentation
 
Notes completing the square
Notes   completing the squareNotes   completing the square
Notes completing the square
 
1 Instructions Solve the following problems, showing all.docx
 1 Instructions Solve the following problems, showing all.docx 1 Instructions Solve the following problems, showing all.docx
1 Instructions Solve the following problems, showing all.docx
 
How to Make a Web 2.0 Play Button in Adobe Illustrator CS6
How to Make a Web 2.0 Play Button in Adobe Illustrator CS6How to Make a Web 2.0 Play Button in Adobe Illustrator CS6
How to Make a Web 2.0 Play Button in Adobe Illustrator CS6
 
DID Unit 4: Tutorials and Project
DID Unit 4: Tutorials and ProjectDID Unit 4: Tutorials and Project
DID Unit 4: Tutorials and Project
 
DID Unit 4: Tutorials and Project
DID Unit 4: Tutorials and ProjectDID Unit 4: Tutorials and Project
DID Unit 4: Tutorials and Project
 
Heapsortokkay
HeapsortokkayHeapsortokkay
Heapsortokkay
 
solving equations
solving equationssolving equations
solving equations
 

Recently uploaded

MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 

Recently uploaded (20)

MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 

Animation in raptor (ppt).

  • 2. DRAW SMILEY FACE STEP 1:- START STEP 2:- OPEN THE WINDOW STEP 3:- DRAW THE BACKGROUND (clear window and redraw background). STEP 4:- PUT VALUE OF X CORDINATE (set the x coordinate of the centre of the smiley face). STEP 5:- PUT VALUE OF Y CORDINATE (set the y coordinate of the centre of the smiley face). STEP 6:- SET THE SMILEY FACE STEP 7:- DRAW SMILEY FACE
  • 3. LOOP • WE HAVE TO APPLY LOOP BECAUSE WHEN WE MAKE MOVEMENT OF SMILEY FACE THEN SOME TYPE OF DISTURBANCE WILL BE GENERATED IN THE BACKGROUND.
  • 4. DRAW BACKGROUND • STEP 1:- DRAW BACKGROUND (clear window and redraw background). • STEP 2 :- X=X+1 (here this representation is used for moving smiley face). • STEP 3 :- DRAW SMILEY (redraw the smiley face). • STEP 4 :- UPGRADE GRAPH WINDOW (show completed image ). • STEP 5 :- MOVE BUTTON PRESSED (left button) • STEP 6 :- CLOSE GRAPH WINDOW.
  • 5. OPENING OF WINDOW • STEP 1 :- START • STEP 2 :- OPEN_GRAPH_WINDOW(400,300), • STEP 3 :- SET_WINDOW_TITLE (“SMILEY”) • STEP 4 :- CLEAR_WINDOW (basically graph window sets the title and sets the background color to light cyan). • STEP 5 :- [LIGHT_CYAN] • STEP 6 :- FREEZE_GRAPH_WINDOW • STEP 7 :- END
  • 6. LOOP • THE TWO SUBCHARTS ONLY MOVE EACH OBJECT ONE STEP. • THE REPEATED CALLS TO MOVE AND DRAW IN THE LOOP IS WHAT ACTUALLY PRODUCES THE MOMENT.
  • 7. DRAW AND MOVE TWO BALLS BY INITIALIZING COORDINATES AFTER OPENING WINDOW • STEP 1 :- START • STEP 2 :- OPEN_WINDOW • STEP 3 :- INITIAL CORDINATES • BEFORE COMING TO STEP 4 FOR DRAWING BACKGROUND WE HAVE TO DO LOOP PART AGAIN FOR THIS NEW ANIMATION.
  • 8. DRAW BACKGROUND ND CIRCLE FOR THE MOMENT OF TWO BALLS • CONTINUE:----- • STEP 4 :- DRAW BACKGROUND (clearing the window and redraw window). • STEP 5 :- MOVE_GREEN_BALL • STEP 6 :- DRAW CIRCLE (green_x_green_y)0.Green,True). • STEP 7 :- MOVE RED_RED_BALL • STEP 8 :- DRAW CIRCLE (red_x,red_y,20.Red,True). • STEP 9 :- UPGRADE_GRAPH_WINDOW • STEP 10 :- MOVE_BUTTON_PRESSED(left_button).
  • 9. MOVEMENT OF GREEN BALL STEP 1 :- START STEP 2 :- GREEN_X implies GREEN_X + GREEN_DELTA_X(this step is used for set the coordinates of x according to given color). AFTER NEXT STEP WE WILL SEE THE CHANGES IN X COORDINATES OF GREEN BALL STEP 3 :-GREEN_X<10 OR GREEN_X>390 STEP 4 :- GREEN_X implies GREEN_DELTA_X[-1](here subtraction means ball will go in opposite direction through x cordinate). STEP 5 :-GREEN_Y implies GREEN_Y+GREEN_DELTA_Y STEP 6 :-GREEN_Y<10 OR GREEN_Y>290 STEP 7 :- GREEN_Y implies GREEN__DELTA_Y[-1](here same subtraction will move ball in opposite direction through y coordinate). STEP 8 :- TIME TAKEN AS ZERO. STEP 9 :-END
  • 10. MOVEMENT OF RED BALL STEP 1:- START SAME PROCESS WE HAVE TO APPLY OR DEAL WITH THIS BALL ALSO. STEP 2 :-TIME=TIME+1 STEP 3 :-RED_X implies SIN(time*pi/180)*100+200 STEP 4 :-RED_Y implies COS(time*pi/180)*100 implies 150. STEP 5 :- END
  • 11. Animation Is One Of The Best, interesting And Attractive Part To Do In Raptor. THANK YOU FOR WATCHING THIS.