Computer Animation Lab

download Computer Animation Lab

of 18

description

A manual of computer animation basics

Transcript of Computer Animation Lab

INDEXSR No.PROGRAM NAMESIGNATURE

1. To write steps for blinking of stars

2.To write steps for morphing an image

3.To write steps for morphing a text

4.To write steps for motion tweening of an object

5.To write steps for implementing a guided motion

6.To write steps for zoom in and zoom out of an object

7.To write steps for implementing solar system

8.To write steps for implementing text controlling object

PROGRAM-1

Aim:-To write steps for blinking of stars.

Procedure:-

STEP1: Start the Macromedia Flash MX and create a

new document.

STEP2: Make the background color black.

STEP3: Create or import stars using brush tool or pencil tool and fill any color in the stars.

STEP4: Insert a keyframe.

STEP5: Click on the keyframe and change the color of stars.

STEP6: Press ctrl+enter to run.

Output:-

PROGRAM-2

Aim:-To write steps for morphing an image.

Procedure:-

STEP1: Start the Macromedia Flash MX and create a new document.

STEP2: Take a frame on a layer and create or import any object on that frame.

STEP3: Insert a keyframe on that layer leaving some frames.

STEP4: Delete the previous object from that keyframe and import or create another object on the keyframe.

STEP5: Now click on any on of the middle frames and fill shape as tween option.

STEP6: Now press ctrl+enter to run. Output:-

PROGRAM-3

Aim:- To write steps for morphing a text.

Procedure:-

STEP1: Start the Macromedia Flash MX and create a new document.

STEP2: Take a frame on a layer and insert any text on that frame.

STEP3: Now go to insert(convert to symbol ( movie clip(ok.

STEP4: Now press ctrl+b+b to break apart the text.

STEP5: Insert a keyframe on that layer leaving some frames.

STEP6: Delete the previous text from that keyframe and insert another text on the keyframe and repeat steps 3 and 4 for this text also.

STEP7: Now click on any of the middle frames and fill shape as tween option.

STEP8: Now press ctrl+enter to run.Output:-

PROGRAM-4

Aim:-To write steps for motion tweening of an object

Procedure:-

STEP1: Start the Macromedia Flash MX and create a new document.

STEP2: Take a frame on a layer and create or import any object on that frame.

STEP3: Now select that object by taking subselection tool.

STEP4: Now go to insert(convert to symbol ( movie clip(ok

STEP5: Insert a keyframe on that layer leaving some frames.

STEP6: Now click on the very first frame and put the object on any position.

STEP7: Now click on the keyframe and put the object on any other position.

STEP8: Now click on any on of the middle frames and fill motion as tween option.

STEP9: Now press ctrl+enter to run.

Thus the object will linearly move between the two positions.Output:-

PROGRAM-5Aim:-To write steps for implementing a guided motion.

Procedure:-

STEP1: Start the Macromedia Flash MX and create a new document.

STEP2: Take a frame on a layer and create or import any object on that frame.

STEP3: Now select that object by taking subselection tool.

STEP4: Now go to insert(convert to symbol ( movie clip(ok.

STEP5: Insert a keyframe on that layer leaving some frames.

STEP6: Now right click on the first layer(Layer1) and then click on add motion guide. Thus a guided layer will be inserted.

STEP7: Now click on the guided layer so that it gets enabled.

STEP8: Now take pencil tool and make any desired path.

STEP9: Now click on the first frame of the Layer1 and put the object on one end of the pencil path.

STEP10: Now click on the keyframe of the Layer1 and put the object on another end of the pencil path.

STEP11: Now click on any on of the middle frames and fill motion as tween option.

STEP12: Now press ctrl+enter to run.

Thus the object will move along the path provided.Output:-

PROGRAM-6Aim:-To write steps for zoom in and zoom out of an object.

Procedure:-

STEP1: Start the Macromedia Flash MX and create a new document.

STEP2: Take a frame on a layer and create or import any object on that frame.

STEP3: Now select that object by taking subselection tool.

STEP4: Now go to insert(convert to symbol ( movie clip(ok.

STEP5: Insert a keyframe on that layer leaving some frames.

STEP6: Now click on that keyframe and go to modify( transform( scale and rotate. Fill 400 in the size option in place of 100. So at this keyframe size of the object will increase to 4 times of its original size.

STEP7: Now take another keyframe on that layer leaving some frames after the previous keyframe.

STEP8: On this keyframe also go to modify( transform( scale and rotate. Fill 25 in the size option in place of 400. So at this keyframe size of the object will be converted to its initial original size.

STEP9: Fill motion as tween option between the frames.

STEP10: Now press ctrl+enter to run.Output:-

1.)Original size of object:-25

2.) This keyframe size of the object will increase to 4 times of its original size.

3.) The keyframe size of the object will be converted to its initial original size i.e. 25

PROGRAM-7Aim:-To write steps for implementing solar system.

Procedure:-

STEP1: Start the Macromedia Flash MX and create a new document.

STEP2: Take a frame on Layer1. Make two or three ovals, one inside another (inner color of the ovals should be white and boundry may be of any color).

STEP3: Insert a simple frame or keyframe leaving some frames after the first frame on the Layer1.

STEP4: Now insert a new layer.

STEP5: Now click on the first frame of the new layer and create an object on the outermost oval and select the object using any selection tool.

STEP6: Now go to insert(convert to symbol ( movie clip(ok.

STEP7: Now insert a keyframe leaving some frames on the new layer.(this number of frames should be less than the number of frames left between the first and last fame of the Layer1).

STEP8: Now click on the keyframe and move the object smoothly along the oval, then stop moving the object. Thus the position of the object will be changed.

STEP9: Now insert a new keyframe on the new layer leaving some frames after the previous keyframe and repeat the procedure of Step7.

STEP10: Repeat the procedure of Step8 until the object reaches at its initial position.

STEP11: Repeat the procedure of Step3 to Step9 for inner ovals also.

STEP12: Now press ctrl+enter to run. Output:-PROGRAM-8Aim:-To write steps for implementing text controlling object.

Procedure:-

STEP1: Start the Macromedia Flash MX and create a new document.

STEP2: Take a frame and create an object on that frame. Now go to insert(convert to symbol ( movie clip(ok

STEP3: Now go to the properties window of the object and fill instance name as cse.

STEP4: Now create an another object on that frame and now go to modify(convert to symbol ( button (ok.

STEP5: Now go to the action window of this button and paste the following coding there:

on(press,release,keypress "")

{

setProperty("cse",_height,_height+100);

setProperty("cse",_width,_width+100);

}

STEP6: Now press ctrl+enter to run. When we click on the button, the objects height and width will be increased by 100.Output:-1.)Here,1st object is rectangle of original size and 2ndobject is circle which acts as a button.

2.) When we click on the button(2nd object), the 1st objects height and width will be increased by 100.

JAN NAYAK CH. DEVI LAL MEMORIAL COLLEGE OF ENGINEERINGPOST BOX NO.81,BARNALA ROAD,SIRSA-125055

COMPUTER ANIMATION PRACTICAL FILESubmitted to:- Submitted by:-

Mr. Vipul Goel

Jatin Sharma A.P. :-(I.T. Dept.) Roll no.:-1111252005 I.T. (8th Sem.)