0% found this document useful (0 votes)
33 views2 pages

Ilovepdf Merged Merged

The document describes several procedures for creating animations and multimedia content in Macromedia Flash, including animating a bouncing ball, simulating cloud movement, creating an animation to represent a growing moon, animating fan blades, and designing a visiting card. Steps are provided for tasks like drawing objects, adding layers, inserting keyframes, and applying effects like glow.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views2 pages

Ilovepdf Merged Merged

The document describes several procedures for creating animations and multimedia content in Macromedia Flash, including animating a bouncing ball, simulating cloud movement, creating an animation to represent a growing moon, animating fan blades, and designing a visiting card. Steps are provided for tasks like drawing objects, adding layers, inserting keyframes, and applying effects like glow.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

1)AIM: Macromedia Flash-8 installation and basic introduction to Graphics and multimedia AIM:Procedure to create an animation to indicate a ball

o indicate a ball bouncing on steps.


with Examples. 1. Go to start- macromedia- click on flashdocument AIM: Procedure to create an animation with the following features WELCOME.
DESCRIPTION: 2. select the line tool and draw the steps. colourit using the paint buckettool PROCEDURE:
Step 1: Visit the Adobe website: https://www.adobe.com/products/flashplayer/end-of-life.html 3. Select the circle from the tool bar and create a circle on the workarea. 2. Go to start→ Macro Media-click on Flashdocument
If it is a Windows system, it automatically detects the Windows OS and the latest version.Click on 4. Now fill the colour to the circle using the paint bucket tool from the toolbar. 3. Choose the textbox from the tool bar. Type the word as ‘WELCOME’ onlayer1.
Install Now. 5. Go to frames right click on the first frame and choose insert key frame. slightly move the ball. Repeat 4. Select the complete word, increase its Font size and change the colour.
Step 2: Upon clicking Install Now, you will get an install_flashplayer.exe file. the same procedure by addingnew key frames to show the ball change the shape of the ball slightly 5. In the timeline window, select the 1st frame-Right click on it-choose insert key frame. Now delete a
Step 3: In the next step, it will ask for the preferences, which include enhancements andsecurity when it touches thesurface. last letter {E} and change the colour of theremaining word.
updates that can be downloaded and installed automatically. 6. In order to change the shape use the free transform tool. 6. Repeat the above procedure till you delete every word in ‘WELCOME’
There are three update options: 7. Go to control and click on test movies .you will observe the ball bouncing on steps. 7. Now select all the key frames→ Right click → choose ‘Reverse keyframes’.
Allow Adobe to install updates.Notify me to install updates. 8. After reversing the frames copy the last frame and paste on its next. now inthe new frame Select all
Never check for updates. AIM: Procedure to stimulate movement of a cloud. the complete word ‘welcome’ and change the colour.
Step 4: The installation will start once you click on next and will take some time to install. PROCEDURE: 9. Finally, go to ‘control’-click on ‘test movie’ you will get the required animation.
Step 5: The installation will be complete. 1. Go to start- macromedia- click on flashdocument
MULTIMEDIA: 2. Create a blue background in layer1 AIM: Procedure to use appropriate tools) from the toolfon, out the objects from 3 files CFI- Jpg,
Multimedia is the use of a Computer to present and Combine text, graphics, audio, and video with 3. Now insert a layer 2 and draw the clouds in thislayer. F2.Jpg, F3.JPg), organise them in a single file and apply feather effects.
links and tools that let the user navigate, interact and create, and multimedia is used to represent 4. in order to create the clouds, go to tool bar and select pencil option, drawthe cloud inlayer2 PROCEDURE:
information in an interesting and interactive manner. 5. Fill the colour to the cloud, right click on it- choose convert to symbol 1) Open the Adobe photoshop 70→ File→ Open $1 JPg.
It has 5 key element: text,Audio,AnimationGraphicsVídeos option- give the name ascloud 2) Select the flower in it using Lasso tool right click feather give feather radius 20pixels
Examples: 6. Select the movie clip option and clickok. 3) Go to edit Copy open a newfile with height 500 and width also 500→ paste the flower.
watching a ppt, watching a prerecorded lecture, training, voicemail etc. 7. Go to filter→ click on the + symbol→ select glow to apply glowingeffect→ select the colour 4) Repeat the same procedure for f2.JPg & f3. Jpg Select the flower give the feather effectedit → Copy
GRAPHICS: towhite open a new file→ paste.
Graphics make the multimedia application attractive. In many cases people do not likereading 8. Under glow and adjust the blur x/blur yvalues. 5) You will get O final Single file with 3 flowers with different files.
large amount of textual matter on the Screen. 9. Give the appropriate blur effect to thecloud. 6) Save the new file
Examples: Photos, illustrations, icons, logos etc.. 10. Go to frames, insert key frame on both the layer, create the motion tween on 2nd layer and move
theclouds
AIM: Procedure to create an animation to represent the growing moon. 11. Finally go to control→ click on test movies AIM: Designing a visiting Card
PROCEDURE: PROCEDURE:
1. Open flash 8 software → click on flash document→ go towindows→ properties 1. Open Adobe Photoshop 7.0→ file→ new→ enter height 200 and width 400
→ select the properties tool→ choose the Background to black. AIM: Procedure to draw the fan blades and to give proper animation. for the visitingcard.
2. Go to fill color under tool bar→ select the whitecolor. PROEDURE: 2. Select the rectangle tool in the tool bar and draw on the half of the work area→ colour it. Repeat
3. Select the oval tool in order to draw the moon. u will get a whitecircle. 1. Go to start→ macromedia→ click on flashdocument the same for remaining half→ use different colours tocolour.
4. Select the oval tool in order to draw the moon. u will get a whitecircle. 2. Create a background on layer1. 3. Copy any picture of your choice and place it on the work area→ Resize it using
5. Select the white circle on the worksheet using the selection tool→ rightclick- 3. Insert another layer→ draw only fan blades and itscircle. transform tool.
>convert to symbol→ select movie clip→ give suitable name eg: moon→ click ok. 4. Insert another layer and draw fanstand. 4. Select the text tool and type text of yourchoice.
6. Gotofilter→ clickonthe+symbol→ selectglowtoapply glowingeffect→ selectthe 5. On each layer right click on frames and insert keyframes. 5. Apply the text font size, colourand style of yourchoice.
color to white under glow and adjust the blur x/blur y values. 6. Select the fan blade’s layer and insert new key frame→ select the fan blades by freetransform tool
7. Click on the + symbol again and chose blur→ again adjust the blur x/blur y values. and rotate the circle a little bit.
8. Place the moon where ever you want on the work area.double click on 7. repeat the rotation until you get the fan rotation animation AIM: Photographic image,give title, put borders and write your name.
layer 1 and rename asMOON. 8. Go to control→ test movie to see the animation. PROCEDURE:
9. Insert another layer→ rename it asAnimation. 1. Open adobe Photoshop 7.0→ file→ new→ enter height 800 and width 600
10. Select the fill color to black→ select oval tool and draw a circle on the moon to cover the moon→ 2. Open an image file and copy the image→ paste the copied image on the newfile.
select the newly added circle→ right click→ convert to symbol→ movie clip→ name it as AIM: Procedure to extract the flower only from given Photographic image and organise it ona 3. Right click on the rectangle tool→ custom shape→ select the shape→ selectthe
Animation. background. Select your own background for organisation colour→ drag on your image
11. Go to filter→ select + symbol→ give the glow and blur effect as did formoon. PROCEDURE: Select the text tool→ type your name, institution name and place.
12. Select the 150th frame in moon layer→ right click→ 1) Open Adobe photoshop 7.0 file open → choose a file. Open it Save thefile.
insert key frame. repeat the same for Animationlayer. 2) Select the flower from the image using the Lassotool.
13. Click on the 149th keyframe of animation layer → right click→ press create motion→ select the 3) Go to edit Copy again go to file new→ give height 500 width 500.
animation movie clip and move slowly acrossthemoon. 4) Choose appropriate background and foreground Colour from the toolbar.
Finally go to control→ test movie→ u will get a growing moon as the output 5) Go to edit fill under use Select background →OK.
6) Go to edit→ paste.
2 3

AIM:To implement Bresenham's algorithm for line drawing. AIM:To implement Bresenham's algorithm for circle drawing
AIM: Procedure to create a Coverpage for a break in your book in your Subject area. PROCEDURE:
PROCEDURE: 1) Input the two line end-points, storing the left end-point in (x0, y0) PROCEDURE:
1. Open adobe Photoshop 7.0→ file→ new→ enter height 500 and width 400 2) Plot the point (x0, y0) Circles have the property of being highly symmetrical, which is handy when it comes to
for the cover page. 3) Calculate the constants Δx, Δy, 2Δy, and (2Δy - 2Δx) and get the first value for thedecision parameter drawing them on a display screen.
2. Select the rectangle tool in the tool bar and draw on the half of the workarea→ colourit Repeat as: p0=2Δy-Δx • We know that there are 360 degrees in a circle. First we see that a circle is symmetricalabout
the same for remaining area→ use different colours tocolour. 4) At each xk along the line, starting at k = 0, perform the following test. If pk < 0, thenext point to plot the x axis, so only the first 180 degrees need to be calculated.
3. Copy any picture of ur choice and place it on the work area→ resize it using is (xk+1, yk ) and: Pk+1 = pk +2Δy • Next we see that it's also symmetrical about the y axis, so now we only need to calculatethe first
free transformtool. Otherwise, the next point to plot is (xk+1, yk+1) and:Pk+1=pk+2Δy-2Δx 90 degrees.
4. Select the text tool and type text of yourchoice. 5) Repeat step 4 (Δx – 1) times. • Finally we see that the circle is also symmetrical about the 45 degree diagonal axis, sowe only
5. Apply the text font size, colour and style of yourchoice. PROGRAM: need to calculate the first 45 degrees.
6. Go to layer→ layer style→ blended option→ select glow options of yourchoice. #include<stdio.h> #include<conio.h> #include<graphics.h>void main(){ • We only need to calculate the values on the border of the circle in the first octant. Theother
7. Apply the effects using blendedoptions. int x,y,x1,y1,x2,y2,p,dx,dy;int gd=DETECT,gm; values may be determined by symmetry.
initgraph(&gd,&gm,"C:\\TurboC3\\BGI");
printf("\nEnter the x-coordinate of the first point ::"); scanf("%d",&x1);
AIM: Procedure to adjust brightness and Contrast for the picture. printf("\nEnter the y-coordinate of the first point ::"); scanf("%d",&y1); PROGRAM:
PROCEDURE: printf("\nEnter the x-coordinate of the second point ::"); scanf("%d",&x2); #include<dos.h> #include<stdio.h> #include<conio.h> #include<graphics>
1. Open adobe Photoshop 7.0→ file→ open→ choose a file and open it. printf("\nEnter the y-coordinate of the second point ::"); scanf("%d",&y2); void draw_circle(int,int,int);
2. Go toimage→ adjustments→ Brightness/Contrast. x=x1; void symmetry(int,int,int,int);void main(){
3. After getting the Brightness/Contrast window adjust the brightness and contrast by Dragging the y=y1; int xc,yc,R;
appropriate barsetting. dx=x2-x1; int gd=DETECT,gm; initgraph(&gd,&gm,"C:\\TurboC3\\BGI"); printf("Enter the center of the
4. Finally save the imagefile. dy=y2-y1; circle:\n"); printf("Xc =");
putpixel(x,y,2); scanf("%d",&xc);
p=(2*dy-dx); printf("Yc =");
a)AIM: Procedure to position the picture preferably on plan background of a colour of your while(x<=x2){if(p<0) scanf("%d",&yc);
choice – positioning includes rotation and scaling. { printf("Enter the radius of the circle :");scanf("%d",&R);
PROCEDURE: x=x+1; draw_circle(xc,yc,R); getch(); closegraph();
Open adobe Photoshop 7.0→ file→ open→ choose a file and openit. p=p+2*dy; } void draw_circle(int xc,int yc,int rad)
1. Select the flower from the image using the lassotool. }else{ {int x = 0; int y = rad;
2. Go to edit→ copy→ Again go to file→ new→ give height 500 and width500. X=x+1; int p = 1-rad; symmetry(x,y,xc,yc);for(x=0;y>x;x++)
3. Choose appropriate background and foreground colour from the toolbar. y=y+1; {if(p<0)
4. Go to edit→ fill→ under use select backgroundcolour→ ok. p=p+(2*dy)-(2*dx); p += 2*x + 3; else
5. Go to edit→ paste→ again go to edit→ free transform tool→ you will get abox around the image } {p += 2*(x-y) + 5;
for scaling androtating. putpixel(x,y,7); y--;
6. Rotate and scale as per your requirement→ and pressapply. } }symmetry(x,y,xc,yc);delay(50);
7. Save the image. getch(); }}
closegraph(); void symmetry(int x,int y,int xc,int yc)
AIM: Animated Cursor wing START DRAG("SS", TRUE); MOUSE.HIDE(); } putpixel(xc+x,yc-y,GREEN); //For pixel (x,y) delay(50);putpixel(xc+y,yc-x, GREEN); //For pixel
PROCEDURE: OUTPUT: (y,x) delay(50);putpixel(xc+y,yc+x, GREEN); //For pixel (y,-x) delay(50);putpixel(xc+x,yc+y,
Go to start→ Macro Media-click on Flashdocument enter the x-coordinate of the first point::90 GREEN); //For pixel (x,-y) delay(50);putpixel(xc-x,yc+y, GREEN); //For pixel (-x,-y)
1. Insert or draw any object of your choice for example butterfly in thisexample. enter the x-coordinate of the first point::120 delay(50);putpixel(xc-y,yc+x, GREEN); //For pixel (-y,-x) delay(50);putpixel(xc-y,yc-x, GREEN);
2. Using free transform tool select the object-right click-convert to symbol-select movie clip- give enter the x-coordinate of the first point::200 //For pixel (-y,x)delay(50);putpixel(xc-x,yc-y, GREEN); //For pixel (-x,y)delay(50);
the name(mm)- clickok. enter the x-coordinate of the first point::220 }OUTPUT:
3. Enter the instance name as (mm) using the property tool box.(same as themovie clip name). Enter the center of the circle:Xc=100,Yc=200,Enter the radius of the circle:35
4. Select the object using free transform tool- go to modify→ timeline→distribute to layers.
5. Select layer1 and rename it toAction
6. Select the first key frame in the action layer- go to windows- clickaction.
7. You will get action frame- enter the following code in the actionframe.
Mouse.hide(); this.mm.onEnterFrame
=function() { startDrag(this,true);}
8.To run the animation go to control→ movieclip.

4 5 6

1)AIM: Macromedia Flash-8 installation and basic introduction to Graphics and multimedia AIM:Procedure to create an animation to indicate a ball bouncing on steps.
with Examples. 1. Go to start- macromedia- click on flashdocument AIM: Procedure to create an animation with the following features WELCOME.
DESCRIPTION: 2. select the line tool and draw the steps. colourit using the paint buckettool PROCEDURE:
Step 1: Visit the Adobe website: https://www.adobe.com/products/flashplayer/end-of-life.html 3. Select the circle from the tool bar and create a circle on the workarea. 2. Go to start→ Macro Media-click on Flashdocument
If it is a Windows system, it automatically detects the Windows OS and the latest version.Click on 4. Now fill the colour to the circle using the paint bucket tool from the toolbar. 3. Choose the textbox from the tool bar. Type the word as ‘WELCOME’ onlayer1.
Install Now. 5. Go to frames right click on the first frame and choose insert key frame. slightly move the ball. Repeat 4. Select the complete word, increase its Font size and change the colour.
Step 2: Upon clicking Install Now, you will get an install_flashplayer.exe file. the same procedure by addingnew key frames to show the ball change the shape of the ball slightly 5. In the timeline window, select the 1st frame-Right click on it-choose insert key frame. Now delete a
Step 3: In the next step, it will ask for the preferences, which include enhancements andsecurity when it touches thesurface. last letter {E} and change the colour of theremaining word.
updates that can be downloaded and installed automatically. 6. In order to change the shape use the free transform tool. 6. Repeat the above procedure till you delete every word in ‘WELCOME’
There are three update options: 7. Go to control and click on test movies .you will observe the ball bouncing on steps. 7. Now select all the key frames→ Right click → choose ‘Reverse keyframes’.
Allow Adobe to install updates.Notify me to install updates. 8. After reversing the frames copy the last frame and paste on its next. now inthe new frame Select all
Never check for updates. AIM: Procedure to stimulate movement of a cloud. the complete word ‘welcome’ and change the colour.
Step 4: The installation will start once you click on next and will take some time to install. PROCEDURE: 9. Finally, go to ‘control’-click on ‘test movie’ you will get the required animation.
Step 5: The installation will be complete. 1. Go to start- macromedia- click on flashdocument
MULTIMEDIA: 2. Create a blue background in layer1 AIM: Procedure to use appropriate tools) from the toolfon, out the objects from 3 files CFI- Jpg,
Multimedia is the use of a Computer to present and Combine text, graphics, audio, and video with 3. Now insert a layer 2 and draw the clouds in thislayer. F2.Jpg, F3.JPg), organise them in a single file and apply feather effects.
links and tools that let the user navigate, interact and create, and multimedia is used to represent 4. in order to create the clouds, go to tool bar and select pencil option, drawthe cloud inlayer2 PROCEDURE:
information in an interesting and interactive manner. 5. Fill the colour to the cloud, right click on it- choose convert to symbol 1) Open the Adobe photoshop 70→ File→ Open $1 JPg.
It has 5 key element: text,Audio,AnimationGraphicsVídeos option- give the name ascloud 2) Select the flower in it using Lasso tool right click feather give feather radius 20pixels
Examples: 6. Select the movie clip option and clickok. 3) Go to edit Copy open a newfile with height 500 and width also 500→ paste the flower.
watching a ppt, watching a prerecorded lecture, training, voicemail etc. 7. Go to filter→ click on the + symbol→ select glow to apply glowingeffect→ select the colour 4) Repeat the same procedure for f2.JPg & f3. Jpg Select the flower give the feather effectedit → Copy
GRAPHICS: towhite open a new file→ paste.
Graphics make the multimedia application attractive. In many cases people do not likereading 8. Under glow and adjust the blur x/blur yvalues. 5) You will get O final Single file with 3 flowers with different files.
large amount of textual matter on the Screen. 9. Give the appropriate blur effect to thecloud. 6) Save the new file
Examples: Photos, illustrations, icons, logos etc.. 10. Go to frames, insert key frame on both the layer, create the motion tween on 2nd layer and move
theclouds
AIM: Procedure to create an animation to represent the growing moon. 11. Finally go to control→ click on test movies AIM: Designing a visiting Card
PROCEDURE: PROCEDURE:
1. Open flash 8 software → click on flash document→ go towindows→ properties 1. Open Adobe Photoshop 7.0→ file→ new→ enter height 200 and width 400
→ select the properties tool→ choose the Background to black. AIM: Procedure to draw the fan blades and to give proper animation. for the visitingcard.
2. Go to fill color under tool bar→ select the whitecolor. PROEDURE: 2. Select the rectangle tool in the tool bar and draw on the half of the work area→ colour it. Repeat
3. Select the oval tool in order to draw the moon. u will get a whitecircle. 1. Go to start→ macromedia→ click on flashdocument the same for remaining half→ use different colours tocolour.
4. Select the oval tool in order to draw the moon. u will get a whitecircle. 2. Create a background on layer1. 3. Copy any picture of your choice and place it on the work area→ Resize it using
5. Select the white circle on the worksheet using the selection tool→ rightclick- 3. Insert another layer→ draw only fan blades and itscircle. transform tool.
>convert to symbol→ select movie clip→ give suitable name eg: moon→ click ok. 4. Insert another layer and draw fanstand. 4. Select the text tool and type text of yourchoice.
6. Gotofilter→ clickonthe+symbol→ selectglowtoapply glowingeffect→ selectthe 5. On each layer right click on frames and insert keyframes. 5. Apply the text font size, colourand style of yourchoice.
color to white under glow and adjust the blur x/blur y values. 6. Select the fan blade’s layer and insert new key frame→ select the fan blades by freetransform tool
7. Click on the + symbol again and chose blur→ again adjust the blur x/blur y values. and rotate the circle a little bit.
8. Place the moon where ever you want on the work area.double click on 7. repeat the rotation until you get the fan rotation animation AIM: Photographic image,give title, put borders and write your name.
layer 1 and rename asMOON. 8. Go to control→ test movie to see the animation. PROCEDURE:
9. Insert another layer→ rename it asAnimation. 1. Open adobe Photoshop 7.0→ file→ new→ enter height 800 and width 600
10. Select the fill color to black→ select oval tool and draw a circle on the moon to cover the moon→ 2. Open an image file and copy the image→ paste the copied image on the newfile.
select the newly added circle→ right click→ convert to symbol→ movie clip→ name it as AIM: Procedure to extract the flower only from given Photographic image and organise it ona 3. Right click on the rectangle tool→ custom shape→ select the shape→ selectthe
Animation. background. Select your own background for organisation colour→ drag on your image
11. Go to filter→ select + symbol→ give the glow and blur effect as did formoon. PROCEDURE: Select the text tool→ type your name, institution name and place.
12. Select the 150th frame in moon layer→ right click→ 1) Open Adobe photoshop 7.0 file open → choose a file. Open it Save thefile.
insert key frame. repeat the same for Animationlayer. 2) Select the flower from the image using the Lassotool.
13. Click on the 149th keyframe of animation layer → right click→ press create motion→ select the 3) Go to edit Copy again go to file new→ give height 500 width 500.
animation movie clip and move slowly acrossthemoon. 4) Choose appropriate background and foreground Colour from the toolbar.
Finally go to control→ test movie→ u will get a growing moon as the output 5) Go to edit fill under use Select background →OK.
6) Go to edit→ paste.
2 3
AIM:To implement Bresenham's algorithm for line drawing. AIM:To implement Bresenham's algorithm for circle drawing
AIM: Procedure to create a Coverpage for a break in your book in your Subject area. PROCEDURE:
PROCEDURE: 1) Input the two line end-points, storing the left end-point in (x0, y0) PROCEDURE:
1. Open adobe Photoshop 7.0→ file→ new→ enter height 500 and width 400 2) Plot the point (x0, y0) Circles have the property of being highly symmetrical, which is handy when it comes to
for the cover page. 3) Calculate the constants Δx, Δy, 2Δy, and (2Δy - 2Δx) and get the first value for thedecision parameter drawing them on a display screen.
2. Select the rectangle tool in the tool bar and draw on the half of the workarea→ colourit Repeat as: p0=2Δy-Δx • We know that there are 360 degrees in a circle. First we see that a circle is symmetricalabout
the same for remaining area→ use different colours tocolour. 4) At each xk along the line, starting at k = 0, perform the following test. If pk < 0, thenext point to plot the x axis, so only the first 180 degrees need to be calculated.
3. Copy any picture of ur choice and place it on the work area→ resize it using is (xk+1, yk ) and: Pk+1 = pk +2Δy • Next we see that it's also symmetrical about the y axis, so now we only need to calculatethe first
free transformtool. Otherwise, the next point to plot is (xk+1, yk+1) and:Pk+1=pk+2Δy-2Δx 90 degrees.
4. Select the text tool and type text of yourchoice. 5) Repeat step 4 (Δx – 1) times. • Finally we see that the circle is also symmetrical about the 45 degree diagonal axis, sowe only
5. Apply the text font size, colour and style of yourchoice. PROGRAM: need to calculate the first 45 degrees.
6. Go to layer→ layer style→ blended option→ select glow options of yourchoice. #include<stdio.h> #include<conio.h> #include<graphics.h>void main(){ • We only need to calculate the values on the border of the circle in the first octant. Theother
7. Apply the effects using blendedoptions. int x,y,x1,y1,x2,y2,p,dx,dy;int gd=DETECT,gm; values may be determined by symmetry.
initgraph(&gd,&gm,"C:\\TurboC3\\BGI");
printf("\nEnter the x-coordinate of the first point ::"); scanf("%d",&x1);
AIM: Procedure to adjust brightness and Contrast for the picture. printf("\nEnter the y-coordinate of the first point ::"); scanf("%d",&y1); PROGRAM:
PROCEDURE: printf("\nEnter the x-coordinate of the second point ::"); scanf("%d",&x2); #include<dos.h> #include<stdio.h> #include<conio.h> #include<graphics>
1. Open adobe Photoshop 7.0→ file→ open→ choose a file and open it. printf("\nEnter the y-coordinate of the second point ::"); scanf("%d",&y2); void draw_circle(int,int,int);
2. Go toimage→ adjustments→ Brightness/Contrast. x=x1; void symmetry(int,int,int,int);void main(){
3. After getting the Brightness/Contrast window adjust the brightness and contrast by Dragging the y=y1; int xc,yc,R;
appropriate barsetting. dx=x2-x1; int gd=DETECT,gm; initgraph(&gd,&gm,"C:\\TurboC3\\BGI"); printf("Enter the center of the
4. Finally save the imagefile. dy=y2-y1; circle:\n"); printf("Xc =");
putpixel(x,y,2); scanf("%d",&xc);
p=(2*dy-dx); printf("Yc =");
a)AIM: Procedure to position the picture preferably on plan background of a colour of your while(x<=x2){if(p<0) scanf("%d",&yc);
choice – positioning includes rotation and scaling. { printf("Enter the radius of the circle :");scanf("%d",&R);
PROCEDURE: x=x+1; draw_circle(xc,yc,R); getch(); closegraph();
Open adobe Photoshop 7.0→ file→ open→ choose a file and openit. p=p+2*dy; } void draw_circle(int xc,int yc,int rad)
1. Select the flower from the image using the lassotool. }else{ {int x = 0; int y = rad;
2. Go to edit→ copy→ Again go to file→ new→ give height 500 and width500. X=x+1; int p = 1-rad; symmetry(x,y,xc,yc);for(x=0;y>x;x++)
3. Choose appropriate background and foreground colour from the toolbar. y=y+1; {if(p<0)
4. Go to edit→ fill→ under use select backgroundcolour→ ok. p=p+(2*dy)-(2*dx); p += 2*x + 3; else
5. Go to edit→ paste→ again go to edit→ free transform tool→ you will get abox around the image } {p += 2*(x-y) + 5;
for scaling androtating. putpixel(x,y,7); y--;
6. Rotate and scale as per your requirement→ and pressapply. } }symmetry(x,y,xc,yc);delay(50);
7. Save the image. getch(); }}
closegraph(); void symmetry(int x,int y,int xc,int yc)
AIM: Animated Cursor wing START DRAG("SS", TRUE); MOUSE.HIDE(); } putpixel(xc+x,yc-y,GREEN); //For pixel (x,y) delay(50);putpixel(xc+y,yc-x, GREEN); //For pixel
PROCEDURE: OUTPUT: (y,x) delay(50);putpixel(xc+y,yc+x, GREEN); //For pixel (y,-x) delay(50);putpixel(xc+x,yc+y,
Go to start→ Macro Media-click on Flashdocument enter the x-coordinate of the first point::90 GREEN); //For pixel (x,-y) delay(50);putpixel(xc-x,yc+y, GREEN); //For pixel (-x,-y)
1. Insert or draw any object of your choice for example butterfly in thisexample. enter the x-coordinate of the first point::120 delay(50);putpixel(xc-y,yc+x, GREEN); //For pixel (-y,-x) delay(50);putpixel(xc-y,yc-x, GREEN);
2. Using free transform tool select the object-right click-convert to symbol-select movie clip- give enter the x-coordinate of the first point::200 //For pixel (-y,x)delay(50);putpixel(xc-x,yc-y, GREEN); //For pixel (-x,y)delay(50);
the name(mm)- clickok. enter the x-coordinate of the first point::220 }OUTPUT:
3. Enter the instance name as (mm) using the property tool box.(same as themovie clip name). Enter the center of the circle:Xc=100,Yc=200,Enter the radius of the circle:35
4. Select the object using free transform tool- go to modify→ timeline→distribute to layers.
5. Select layer1 and rename it toAction
6. Select the first key frame in the action layer- go to windows- clickaction.
7. You will get action frame- enter the following code in the actionframe.
Mouse.hide(); this.mm.onEnterFrame
=function() { startDrag(this,true);}
8.To run the animation go to control→ movieclip.

4 5 6

1)AIM: Macromedia Flash-8 installation and basic introduction to Graphics and multimedia AIM:Procedure to create an animation to indicate a ball bouncing on steps.
with Examples. 1. Go to start- macromedia- click on flashdocument AIM: Procedure to create an animation with the following features WELCOME.
DESCRIPTION: 2. select the line tool and draw the steps. colourit using the paint buckettool PROCEDURE:
Step 1: Visit the Adobe website: https://www.adobe.com/products/flashplayer/end-of-life.html 3. Select the circle from the tool bar and create a circle on the workarea. 2. Go to start→ Macro Media-click on Flashdocument
If it is a Windows system, it automatically detects the Windows OS and the latest version.Click on 4. Now fill the colour to the circle using the paint bucket tool from the toolbar. 3. Choose the textbox from the tool bar. Type the word as ‘WELCOME’ onlayer1.
Install Now. 5. Go to frames right click on the first frame and choose insert key frame. slightly move the ball. Repeat 4. Select the complete word, increase its Font size and change the colour.
Step 2: Upon clicking Install Now, you will get an install_flashplayer.exe file. the same procedure by addingnew key frames to show the ball change the shape of the ball slightly 5. In the timeline window, select the 1st frame-Right click on it-choose insert key frame. Now delete a
Step 3: In the next step, it will ask for the preferences, which include enhancements andsecurity when it touches thesurface. last letter {E} and change the colour of theremaining word.
updates that can be downloaded and installed automatically. 6. In order to change the shape use the free transform tool. 6. Repeat the above procedure till you delete every word in ‘WELCOME’
There are three update options: 7. Go to control and click on test movies .you will observe the ball bouncing on steps. 7. Now select all the key frames→ Right click → choose ‘Reverse keyframes’.
Allow Adobe to install updates.Notify me to install updates. 8. After reversing the frames copy the last frame and paste on its next. now inthe new frame Select all
Never check for updates. AIM: Procedure to stimulate movement of a cloud. the complete word ‘welcome’ and change the colour.
Step 4: The installation will start once you click on next and will take some time to install. PROCEDURE: 9. Finally, go to ‘control’-click on ‘test movie’ you will get the required animation.
Step 5: The installation will be complete. 1. Go to start- macromedia- click on flashdocument
MULTIMEDIA: 2. Create a blue background in layer1 AIM: Procedure to use appropriate tools) from the toolfon, out the objects from 3 files CFI- Jpg,
Multimedia is the use of a Computer to present and Combine text, graphics, audio, and video with 3. Now insert a layer 2 and draw the clouds in thislayer. F2.Jpg, F3.JPg), organise them in a single file and apply feather effects.
links and tools that let the user navigate, interact and create, and multimedia is used to represent 4. in order to create the clouds, go to tool bar and select pencil option, drawthe cloud inlayer2 PROCEDURE:
information in an interesting and interactive manner. 5. Fill the colour to the cloud, right click on it- choose convert to symbol 1) Open the Adobe photoshop 70→ File→ Open $1 JPg.
It has 5 key element: text,Audio,AnimationGraphicsVídeos option- give the name ascloud 2) Select the flower in it using Lasso tool right click feather give feather radius 20pixels
Examples: 6. Select the movie clip option and clickok. 3) Go to edit Copy open a newfile with height 500 and width also 500→ paste the flower.
watching a ppt, watching a prerecorded lecture, training, voicemail etc. 7. Go to filter→ click on the + symbol→ select glow to apply glowingeffect→ select the colour 4) Repeat the same procedure for f2.JPg & f3. Jpg Select the flower give the feather effectedit → Copy
GRAPHICS: towhite open a new file→ paste.
Graphics make the multimedia application attractive. In many cases people do not likereading 8. Under glow and adjust the blur x/blur yvalues. 5) You will get O final Single file with 3 flowers with different files.
large amount of textual matter on the Screen. 9. Give the appropriate blur effect to thecloud. 6) Save the new file
Examples: Photos, illustrations, icons, logos etc.. 10. Go to frames, insert key frame on both the layer, create the motion tween on 2nd layer and move
theclouds
AIM: Procedure to create an animation to represent the growing moon. 11. Finally go to control→ click on test movies AIM: Designing a visiting Card
PROCEDURE: PROCEDURE:
1. Open flash 8 software → click on flash document→ go towindows→ properties 1. Open Adobe Photoshop 7.0→ file→ new→ enter height 200 and width 400
→ select the properties tool→ choose the Background to black. AIM: Procedure to draw the fan blades and to give proper animation. for the visitingcard.
2. Go to fill color under tool bar→ select the whitecolor. PROEDURE: 2. Select the rectangle tool in the tool bar and draw on the half of the work area→ colour it. Repeat
3. Select the oval tool in order to draw the moon. u will get a whitecircle. 1. Go to start→ macromedia→ click on flashdocument the same for remaining half→ use different colours tocolour.
4. Select the oval tool in order to draw the moon. u will get a whitecircle. 2. Create a background on layer1. 3. Copy any picture of your choice and place it on the work area→ Resize it using
5. Select the white circle on the worksheet using the selection tool→ rightclick- 3. Insert another layer→ draw only fan blades and itscircle. transform tool.
>convert to symbol→ select movie clip→ give suitable name eg: moon→ click ok. 4. Insert another layer and draw fanstand. 4. Select the text tool and type text of yourchoice.
6. Gotofilter→ clickonthe+symbol→ selectglowtoapply glowingeffect→ selectthe 5. On each layer right click on frames and insert keyframes. 5. Apply the text font size, colourand style of yourchoice.
color to white under glow and adjust the blur x/blur y values. 6. Select the fan blade’s layer and insert new key frame→ select the fan blades by freetransform tool
7. Click on the + symbol again and chose blur→ again adjust the blur x/blur y values. and rotate the circle a little bit.
8. Place the moon where ever you want on the work area.double click on 7. repeat the rotation until you get the fan rotation animation AIM: Photographic image,give title, put borders and write your name.
layer 1 and rename asMOON. 8. Go to control→ test movie to see the animation. PROCEDURE:
9. Insert another layer→ rename it asAnimation. 1. Open adobe Photoshop 7.0→ file→ new→ enter height 800 and width 600
10. Select the fill color to black→ select oval tool and draw a circle on the moon to cover the moon→ 2. Open an image file and copy the image→ paste the copied image on the newfile.
select the newly added circle→ right click→ convert to symbol→ movie clip→ name it as AIM: Procedure to extract the flower only from given Photographic image and organise it ona 3. Right click on the rectangle tool→ custom shape→ select the shape→ selectthe
Animation. background. Select your own background for organisation colour→ drag on your image
11. Go to filter→ select + symbol→ give the glow and blur effect as did formoon. PROCEDURE: Select the text tool→ type your name, institution name and place.
12. Select the 150th frame in moon layer→ right click→ 1) Open Adobe photoshop 7.0 file open → choose a file. Open it Save thefile.
insert key frame. repeat the same for Animationlayer. 2) Select the flower from the image using the Lassotool.
13. Click on the 149th keyframe of animation layer → right click→ press create motion→ select the 3) Go to edit Copy again go to file new→ give height 500 width 500.
animation movie clip and move slowly acrossthemoon. 4) Choose appropriate background and foreground Colour from the toolbar.
Finally go to control→ test movie→ u will get a growing moon as the output 5) Go to edit fill under use Select background →OK.
6) Go to edit→ paste.
2 3

AIM:To implement Bresenham's algorithm for line drawing. AIM:To implement Bresenham's algorithm for circle drawing
AIM: Procedure to create a Coverpage for a break in your book in your Subject area. PROCEDURE:
PROCEDURE: 1) Input the two line end-points, storing the left end-point in (x0, y0) PROCEDURE:
1. Open adobe Photoshop 7.0→ file→ new→ enter height 500 and width 400 2) Plot the point (x0, y0) Circles have the property of being highly symmetrical, which is handy when it comes to
for the cover page. 3) Calculate the constants Δx, Δy, 2Δy, and (2Δy - 2Δx) and get the first value for thedecision parameter drawing them on a display screen.
2. Select the rectangle tool in the tool bar and draw on the half of the workarea→ colourit Repeat as: p0=2Δy-Δx • We know that there are 360 degrees in a circle. First we see that a circle is symmetricalabout
the same for remaining area→ use different colours tocolour. 4) At each xk along the line, starting at k = 0, perform the following test. If pk < 0, thenext point to plot the x axis, so only the first 180 degrees need to be calculated.
3. Copy any picture of ur choice and place it on the work area→ resize it using is (xk+1, yk ) and: Pk+1 = pk +2Δy • Next we see that it's also symmetrical about the y axis, so now we only need to calculatethe first
free transformtool. Otherwise, the next point to plot is (xk+1, yk+1) and:Pk+1=pk+2Δy-2Δx 90 degrees.
4. Select the text tool and type text of yourchoice. 5) Repeat step 4 (Δx – 1) times. • Finally we see that the circle is also symmetrical about the 45 degree diagonal axis, sowe only
5. Apply the text font size, colour and style of yourchoice. PROGRAM: need to calculate the first 45 degrees.
6. Go to layer→ layer style→ blended option→ select glow options of yourchoice. #include<stdio.h> #include<conio.h> #include<graphics.h>void main(){ • We only need to calculate the values on the border of the circle in the first octant. Theother
7. Apply the effects using blendedoptions. int x,y,x1,y1,x2,y2,p,dx,dy;int gd=DETECT,gm; values may be determined by symmetry.
initgraph(&gd,&gm,"C:\\TurboC3\\BGI");
printf("\nEnter the x-coordinate of the first point ::"); scanf("%d",&x1);
AIM: Procedure to adjust brightness and Contrast for the picture. printf("\nEnter the y-coordinate of the first point ::"); scanf("%d",&y1); PROGRAM:
PROCEDURE: printf("\nEnter the x-coordinate of the second point ::"); scanf("%d",&x2); #include<dos.h> #include<stdio.h> #include<conio.h> #include<graphics>
1. Open adobe Photoshop 7.0→ file→ open→ choose a file and open it. printf("\nEnter the y-coordinate of the second point ::"); scanf("%d",&y2); void draw_circle(int,int,int);
2. Go toimage→ adjustments→ Brightness/Contrast. x=x1; void symmetry(int,int,int,int);void main(){
3. After getting the Brightness/Contrast window adjust the brightness and contrast by Dragging the y=y1; int xc,yc,R;
appropriate barsetting. dx=x2-x1; int gd=DETECT,gm; initgraph(&gd,&gm,"C:\\TurboC3\\BGI"); printf("Enter the center of the
4. Finally save the imagefile. dy=y2-y1; circle:\n"); printf("Xc =");
putpixel(x,y,2); scanf("%d",&xc);
p=(2*dy-dx); printf("Yc =");
a)AIM: Procedure to position the picture preferably on plan background of a colour of your while(x<=x2){if(p<0) scanf("%d",&yc);
choice – positioning includes rotation and scaling. { printf("Enter the radius of the circle :");scanf("%d",&R);
PROCEDURE: x=x+1; draw_circle(xc,yc,R); getch(); closegraph();
Open adobe Photoshop 7.0→ file→ open→ choose a file and openit. p=p+2*dy; } void draw_circle(int xc,int yc,int rad)
1. Select the flower from the image using the lassotool. }else{ {int x = 0; int y = rad;
2. Go to edit→ copy→ Again go to file→ new→ give height 500 and width500. X=x+1; int p = 1-rad; symmetry(x,y,xc,yc);for(x=0;y>x;x++)
3. Choose appropriate background and foreground colour from the toolbar. y=y+1; {if(p<0)
4. Go to edit→ fill→ under use select backgroundcolour→ ok. p=p+(2*dy)-(2*dx); p += 2*x + 3; else
5. Go to edit→ paste→ again go to edit→ free transform tool→ you will get abox around the image } {p += 2*(x-y) + 5;
for scaling androtating. putpixel(x,y,7); y--;
6. Rotate and scale as per your requirement→ and pressapply. } }symmetry(x,y,xc,yc);delay(50);
7. Save the image. getch(); }}
closegraph(); void symmetry(int x,int y,int xc,int yc)
AIM: Animated Cursor wing START DRAG("SS", TRUE); MOUSE.HIDE(); } putpixel(xc+x,yc-y,GREEN); //For pixel (x,y) delay(50);putpixel(xc+y,yc-x, GREEN); //For pixel
PROCEDURE: OUTPUT: (y,x) delay(50);putpixel(xc+y,yc+x, GREEN); //For pixel (y,-x) delay(50);putpixel(xc+x,yc+y,
Go to start→ Macro Media-click on Flashdocument enter the x-coordinate of the first point::90 GREEN); //For pixel (x,-y) delay(50);putpixel(xc-x,yc+y, GREEN); //For pixel (-x,-y)
1. Insert or draw any object of your choice for example butterfly in thisexample. enter the x-coordinate of the first point::120 delay(50);putpixel(xc-y,yc+x, GREEN); //For pixel (-y,-x) delay(50);putpixel(xc-y,yc-x, GREEN);
2. Using free transform tool select the object-right click-convert to symbol-select movie clip- give enter the x-coordinate of the first point::200 //For pixel (-y,x)delay(50);putpixel(xc-x,yc-y, GREEN); //For pixel (-x,y)delay(50);
the name(mm)- clickok. enter the x-coordinate of the first point::220 }OUTPUT:
3. Enter the instance name as (mm) using the property tool box.(same as themovie clip name). Enter the center of the circle:Xc=100,Yc=200,Enter the radius of the circle:35
4. Select the object using free transform tool- go to modify→ timeline→distribute to layers.
5. Select layer1 and rename it toAction
6. Select the first key frame in the action layer- go to windows- clickaction.
7. You will get action frame- enter the following code in the actionframe.
Mouse.hide(); this.mm.onEnterFrame
=function() { startDrag(this,true);}
8.To run the animation go to control→ movieclip.

4 5 6

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy