bEX.
NO: 1 SUNFLOWER CREATION
AIM:-
To create a sunflower using Photoshop
ALGORITHM:-
STEP 1: Open a file with background
STEP 2: Using custom shape to draw a petal Shape.
STEP 3: Press ctrl+T to rotate a petal shape.
STEP 3: Set Angle Value as 45• and Click Commit Transmit Button on Tool Bar.
STEP 4: Press Shift+Alt+Ctrl+T to complete the Petals.
STEP 5: Draw a water drop symbol in yellow color petals
STEP 7: Using custom shape to draw a leaf for the flower
STEP 8: Save the file and stop it.
EX.NO: 2 PLANE FLYING
AIM:-
To animate plane flying in the clouds using Photoshop
ALGORITHM:-
STEP 1: Create a new layer
STEP 2: Set the background color as blue and foreground color as white
STEP 3: To create clouds use filter->render-> cloud options to select Clouds option
STEP 4: Using custom shape draw the plane
STEP 4: Click Jump to Image Ready Tool in Tool Box.
STEP 5: Choose window -> animation option and create duplicate frames and also set frame
time then make the plane to move includes by clicking play button
STEP 6: Save the process
EX.NO: 3 PLASTIC SURGERY FOR NOSE
AIM:-
To create plastic surgery for nose using the Photoshop
ALGORITHM:-
STEP 1: Open a file with white background in RGB mode
STEP 2: Import the picture from gallery to the work area
STEP 3: Using selection tool, select the target area to do plastic surgery
STEP 4: Using filter, select the liquefy option and get liquefy dialog box
STEP 5: Select the brush size and change the appearance of nose
STEP 6: Repeat the step5 until the shape is done
STEP 7: Save the image and exit the process
EX.NO: 4 SEE THROUGH TEXT
AIM:-
To create a sea through text using Photoshop
ALGORITHM:-
STEP 1: Start the process.
STEP 2: Select file-> to open the picture.
STEP 3: Create a New Layer and set Layer Opacity as 75%.
STEP 4: Select type tool from tool box and the text in background area with required font size
and style.
STEP 5: Right click on the text, select the blending option and set Fill Opacity as 0 and Set
knockout as Swallow.
STEP 7: Stop the program
EX.NO: 5 WEB PAGE CREATION
AIM:-
Create a webpage using Photoshop
ALGORITHM:-
STEP 1: Start the new layer and set the page layout in 800*600 and set the background
STEP 2: Create left side bar layer, it includes logo and hypertext of the home pages
STEP 3: Use text tool to add the necessary information about the webpage
STEP 4: Create footer layer at the bottom of the layout and add respective copy right details
STEP 5: Click on jump to image ready tool
STEP 6: Use slice tool to select the hypertext and set the URL
STEP 7: Click on to internet explorer and run the webpage
STEP 8: Save the layer and stop the process
EX.NO: 6 BLACK AND WHITE TO COLOR
AIM:-
To convert the black and white picture to color picture using Photoshop
ALGORITHM:-
STEP 1: Start the program
STEP 2: Open the grayscale image
STEP 3: Select image -> mode -> RGB
STEP 4: Select the area you need to convert the color using case tool
STEP 5: Image -> adjustment -> Hue/Saturation select color size, check box, adjusts the
hue/Saturation and lightness values
STEP 6: To remove the noise select the gheading brush and select the print by alt_t click and
apply it in the noise area
STEP 7: Stop the program
EX.NO: 7 ROTATE AN IMAGE
AIM:-
Program to rotate the given image at the given angle
ALGORITHM:-
STEP 1: Start the process
STEP 2: Structure variable pts and rpts are used to handle points (x, y)
STEP 3: Get ‘n’ set of values to create the image
STEP 4: Get the image angle values(a) in degrees to which the images to be rotated and
convert the angle into a radiant value using
STEP 5: Apply the rotate matrix for creating image
STEP 6: Display the rotate image co-ordinates
STEP 7: Stop the process
EX.NO: 8 DROP EACH WORD OF SENTENCE
AIM:-
A program to draw each word to sentence one by one from the top
ALGORITHM:-
STEP 1: Start the process
STEP 2: Get a sentence using gets() and store it in “stringl”
STEP 3: Split the given sentence into words by checking the blank space or a new character
and store them in a character array “strl”
STEP 4: Set a view port to display the text using set view port()
STEP 5: Make each word of strl to fall from top using the screen co-ordinates value
STEP 6: Stop the process
EX.NO: 9 DRAWING A LINE USING DDA
AIM:-
To draw a line using DDA line drawing algorithm
ALGORITHM:-
STEP 1: Start the program
STEP 2: Get the co-ordinate values for x & y as using xa, xb ,ya, yb
STEP 3: Find the co-ordinate different as
dx= xb-xa;
dy=yb-ya;
STEP 4: Check dx>dy the greater value is use as editing point
STEP 5: The string point x=xa and y=ya is plotted using put pixel
STEP 6: The x increment and y increment are calculated using
x increment = dx/steps;
y increment = dy/steps;
STEP 7: Next points is generate using
x = x+x increment;
y = y+y increment;
STEP 8: From a loop that plot the increment x, y value until it reaches ‘n’ times
STEP 9: Stop the process
EX.NO: 10 MOVING A CAR WITH SOUND EFFECT
AIM:-
Develop a program to create a car and move it with sound effect
ALGORITHM:-
STEP 1: Start the process
STEP 2: Create a procedure draw_car() to make a car using line() and circle() command
STEP 3: Display the car with a sound effects on the output screen using put image and sound()
command
STEP 4: Move the car on the screen using for loop
STEP 5: Stop the process
EX.NO: 11 BOUNCING A BALL
AIM:-
Develop a program for creating an animated ball
ALGORITHM:-
STEP 1: Start the program
STEP 2: Creating a path and initialize graphic path
STEP 3: Create a center point x, y radius and draw a circle
STEP 4: Allocate the memory for image size of the circle and save the image using get image
method
STEP 5: Create a rectangle boundary for the image
STEP 6: Display an animation image on the screen by using put image method
STEP 7: Set time interval for the image which we have created
STEP 8: The wide should not cross the boundary, so it should automatically touches the
boundary and moves inside
STEP 9: Stop the process
EX.NO: 12 TESTING BOUNDS OF A POLYGON
WITH PIXEL
AIM:-
Develop a program to check weather a pixel is inside or outside a polygon
ALGORITHM:-
STEP 1: Start the process
STEP 2: Declare the necessary variables and initialize the graphical mode
STEP 3: Draw the polygon using given points
STEP 4: Get the values for a pixel co-ordinates
STEP 5: Using a points in poly() function to check pixel position
STEP 6: Based on boundary condition points the result as in or out of the boundary
STEP 7: Close the graphical mode
STEP 8: Stop the process