Home>Tutorials> PSP 7 Effects>
Rainbow Animation
E-mail this tutorial to a friendEmail to a Friend

Rainbow Animation
Created by:Doro Sensen

With the multiple gradients that were introduced to PSP with version 6 and with Animation Shop, you can create great rainbow animations!

Standard Toolbar - New (image) button
Open a new image:
Width = 300
Height = 100
Background = transparent
Image type = 16.7 Million Colors

Tool Palette - Flood Fill tool
Click on the Flood-Fill tool in your tool palette. On tab 1 of the Tool Options palette, choose:
Blend mode = Normal
Match mode = none
Tolerance = n/a
Opacity = 100
Sample merged = unchecked
Styles Set your Foreground Style to Gradient (click on the little arrow in the Foreground-Style Box and choose the second icon from the left). Now click right into the Foreground-Style box and then on the "Edit" button in the Gradient dialogue box since we first have to create our rainbow gradients.
Click on the button "New...", type "Rainbow_red" into the text field and click on OK. This will be our rainbow beginning with the colour red. Click on the first marker at 0%, then on the Custom colour field and choose a red (Red = 192, Green = 0, Blue = 0), then do the same with the second marker at 100%. You should now have a totally red "gradient".
Now click between these two markers under the gradient bar to create a third marker, and drag it to Location = 17%. In the Custom colour field, choose an orange (Red = 255, Green = 61, Blue = 1). Click again for a marker at Location = 33%, Custom colour yellow (Red = 255, Green = 255, Blue = 64).
Continue like that for green (Red = 0, Green = 128, Blue = 0) at 50%, blue (Red = 0, Green = 0, Blue = 192) at 67%, and violet (Red = 128, Green = 0, Blue = 128) at 83%. You should now have a full rainbow gradient, beginning and ending with red.

Click on the "Copy" button, type "Rainbow_orange" into the text field and click on OK. Now drag the first, red marker downwards, away from the gradient bar to remove it. Drag the orange marker from location 17% to 0%, the yellow marker from 33% to 17%, the green one from 50% to 33%, the blue one from 67% to 50%, the violet one from 83% to 67%, and the red marker from 100% to 83%. Now click once on the first, orange marker and then at 100% under the gradient bar to insert a second orange marker at the end of the row. Now you've got a full rainbow gradient beginning and ending with orange.

Click again on the "Copy" button, now for the "Rainbow_yellow" gradient, and edit it the same way as the gradient before. Do the same for a "Rainbow_green", "Rainbow_blue", and "Rainbow_violet" gradient. In the end, you should have 6 rainbow gradients like the ones on the left (without the location numbers, of course, which were added for your convenience).

Now that we have our rainbow gradients, we can create the image that we want to fill with them.

Tool Palette - Text tool
Click on the Text tool in your Tool palette; in the Tool Options palette, set Width to 3. Now click somewhere in the center of your image:
Font Name = Impact
Size = 72
Styles: Stroke = Solid Color: dark blue, Fill = Solid Color: white
Textures: Stroke and Fill = both None
Text = PSPUG, bold and centered
Create As: Floating = selected, Antialias = unchecked
(because we want to make a transparent animated gif of it).
Click on OK and drag the text into the center of your image.
Deselect by right-clicking into your image. Go to Edit || Copy (Ctrl+C) and then to Edit || Paste || As a New Image (Ctrl+V); this way your image is just as big as you need it.

Tool Palette - Magic Wand tool

Click on the Magic Wand tool in your Tool palette:
Match mode = RGB
Tolerance = 0
Feather = 0
Sample merged = unchecked

Now click into the white area of a letter, then go to Selections || Modify || Select Similar to select all the white areas in your image. Save this selection to an alpha channel: Go to Selections || Save To Alpha Channel, and click on OK in both the "Save To Alpha" and the "New Channel" dialog box; you can now open that selection again whenever you need it. Deselect by right-clicking into your image.

Now click on the blue outline area of one of your letters and again go to Selections || Modify || Select Similar so that now all the blue outlines are selected. Go to Effects || 3D Effects || Inner Bevel:
Bevel = the round one
Width = 1
Smoothness = 2
Depth = 1
Ambience = 0
Shininess = 15
Color = White
Angle = 315
Intensity = 50
Elevation = 30
Tool Palette - Flood Fill tool

Deselect by right-clicking into your image and click on the Flood-Fill tool in your Tool palette. Make sure that your foreground texture is set to None (click on the little arrow in the Foreground-Texture box and choose the icon on the right); your foreground style should still be set to Gradient. Click right into the Foreground-Style box:
Gradient = Rainbow_red
Invert gradient = unchecked
Angle = 90
Repeats = 0
Style = Linear Gradient (icon on top)
Go to Selections || Load from Alpha Channel and click on OK in the "Load from Alpha" dialog box; all the white is now selected. Click into the selection to flood-fill with your rainbow gradient.

Now go to Effects || 3D Effects || Inner Bevel again and change:
Width = 4
Smoothness = 15
Depth = 5

Leave the other settings as they are and click on OK. Deselect with Ctrl+D (Selections || Select None) and save your image as "Rainbow_red.psp".

Duplicate your image with Shift+D (Window || Duplicate), load your selection from alpha channel (Selections || Load from Alpha Channel) and flood-fill with the "Rainbow_orange" gradient. Apply the inner bevel effect with the same settings as before, deselect and save as "Rainbow_orange.psp".

Do the same for "Rainbow_yellow.psp", "Rainbow_green.psp", "Rainbow_blue.psp" and "Rainbow_violet.psp". You've now got the six images that you need for your animation.

Animation Wizard

Now go to File || Jasc Software Products || Launch Animation Shop to make an animation out of your images. In Animation Shop, go to File || Animation Wizard:

  • First dialog box, choose "Same size as the first image frame", click on "Next".
  • Second dialog box, choose "Transparent", and click on "Next".
  • Third dialog box, choose "Centered in the frame" and "With the canvas color", click on "Next".
  • Fourth dialog box, choose "Yes, repeat the animation indefinitely", type "15" into the display time edit box, and click on "Next".

In the fifth dialog box, we have to specify the pictures that belong to the animation. Click on "Add Image", and select the six rainbow images to add them to the dialog box. They're probably not in the right order; we want to begin the animation with "Rainbow_red", so select that file and click on the "Move Up" button until it's the first file in the row.

Since we want the red to move to the right, we now have to think backwards; move "Rainbow_violet" up till it's beneath the red, followed by the blue, green, yellow and orange rainbow files.

In the final dialog box, just click on "Finish"; your animation is now displayed for viewing and further editing.

With this technique, you've got numerous possibilities, for of course the gradients don't have to be linear or rainbow gradients, and the pictures can be anything, not necessarily text ...

Happy gradient animating! :-))