Embedding Animations in Smart Objects

Free Photoshop Tutorial

Dive into this detailed Photoshop tutorial to learn how to create an animated GIF for a party announcement, featuring topics such as embedding an animation within a Smart Object, adding filters, copying Smart Objects, and final positioning and blending modes.

This exercise is excerpted from Noble Desktop’s past Photoshop Animated GIFs training materials and is compatible with Photoshop updates through 2019. To learn current skills in Photoshop, check out our Photoshop Bootcamp and graphic design classes in NYC and live online.

Topics covered in this Photoshop tutorial:

Embedding an animation within a Smart Object, Adding a filter to an embedded animation, Copying Smart Objects, Final positioning & blending modes

Exercise Preview

ex prev party announcement

Exercise Overview

In this exercise, we’ll create a GIF for an album release party announcement containing an animated soundwave. To create a nifty looking effect, we’ll embed our animation within a smart object. Once we’ve created one wave layer we’ll duplicate it and adjust the settings so that each wave looks slightly different. We’ll also need to pay careful attention to the positioning of the waves in order to create a seamless looping animation.

Adobe Photoshop Bootcamp: Live & Hands-on, In NYC or Online, Learn From Experts, Free Retake, Small Class Sizes,  1-on-1 Bonus Training. Named a Top Bootcamp by Forbes, Fortune, & Time Out. Noble Desktop. Learn More.

Previewing the Finished Animation

Let’s start by previewing how our finished file will look at the end of this exercise.

  1. Launch any web browser (Chrome, Safari, Firefox, etc.).

  2. Press Cmd–O (Mac) or Ctrl–O (Windows) and navigate to Desktop > Class Files > Animated GIFs Class > Party Announcement.

  3. Double–click on party-announcement.gif.

    Watch the animation loop a few times to get a feel for what we’ll be working towards. You’ll see a snazzy soundwave pulse across the screen, while the text with the important party info stays static.

Getting Started

  1. In Photoshop, go to File > Open.

  2. Navigate into Desktop > Class Files > Animated GIFs Class > Party Announcement and open party-announcement.psd.

  3. Go to File > Save As.

  4. Name the file yourname-party-announcement.psd and navigate into Class Files > Animated GIFs Class > Party Announcement.

  5. Click Save.

  6. We’ve already started a video timeline with the static text and background layers so make sure the Timeline panel is showing. (If not, go to Window > Timeline.)

  7. Zoom to 100% if you’re not already.

  8. If the bottom left of the Timeline panel doesn’t look like frame numbers and 30fps, change the time display and/or frame rate as follows:

    • If you see a timecode (it looks like 0:00:00:00), hold Opt (Mac) or Alt (Windows) and click on the timecode to toggle it to frames (which look like 0).
    • If it doesn’t say 30.00 fps, go into the Timeline panel menu panel menu and choose Set Timeline Frame Rate. Change it to 30 and click OK.
  9. At the top left of the Timeline panel click the Gear icon gear icon.

  10. Make sure Resolution is set to 100%, and Loop Playback is checked on.

  11. Click on the Timeline panel menu panel menu and make sure Enable Timeline Shortcut Keys is unchecked. Although this can be a useful feature, it overrides Photoshop’s “nudge” keyboard shortcuts using the Left and Right Arrow keys, which we’d prefer to use in this exercise.

  12. We won’t be editing the text, so let’s hide the text layer for now. In the Layers panel, click the eye eye hide show icon to the left of text content to hide it.

  13. We want this animation to be 1 second long. At 30 frames per second, 1 second equals 30 frames. Drag the blue playhead current time indicator to 30 or go to the bottom left of the Timeline panel and drag the frame number.

  14. Drag the right handle (Set End of Work Area) to the playhead so the work area ends at frame 30.

Creating the First Wave

To create the first wave, we’ll create a colored rectangle shape and turn it into a smart object so that we can transform it and apply a wave filter. We’ll then duplicate it and adjust the settings slightly for each of the other waves.

  1. Move the playhead to frame 0.

  2. In the Tools panel, select the Rectangle tool rectangle tool.

  3. Click once anywhere on the purple background.

  4. In the dialog that opens, set the Width to 1740px, and Height to 16px.

    We are making our rectangle wider than our background (which is 1160px) so that we can move it both left and right without there being any gaps on either side of the wave.

  5. Click OK.

  6. We’ll start with the pink wave. In the Layers panel, double–click on the layer thumbnail for Rectangle 1.

  7. In the Color Picker window that opens, set the color to #FF00FF and click OK.

  8. To position the rectangle where we want it, hit Cmd–T (Mac) or Ctrl–T (Windows) to do a Free Transform.

  9. In the Options bar at the top, set the X value to 290px so that the right edge of the rectangle aligns with the right edge of the background.

  10. Set the Y value to 326px so that it centers vertically.

  11. Click the checkbox checkbox in the Options bar when you’re done.

  12. Let’s go ahead and turn this into a wave! Go to Filter > Distort > Wave.

  13. In the dialog that pops up, click Convert To Smart Object.

  14. In the Wave settings window that opens, set the following:

    • Number of Generators: 1
    • Min. Wavelength: 80
    • Max. Wavelength: 81
    • Min. Amplitude: 67
    • Max. Amplitude: 68
    • Horiz. Scale: 1
    • Vert. Scale: 100
  15. Click OK and admire your new pink wave!

Embedding an Animation Within a Smart Object

We’re going to embed our animations within smart objects. This will allow us to then apply filters or effects to the embedded smart object while still keeping the animation inside it as is. This is a nice trick to create more interesting effects!

  1. In the Layers panel, Ctrl–click (Mac) or Right–click (Windows) on Rectangle 1 and select Convert to Smart Object.

  2. Rename the Rectangle 1 layer to pink wave.

  3. Double–click on the pink wave layer thumbnail to edit the Smart Object. This is where we will be creating the animation.

  4. Move the playhead to frame 30.

  5. Drag the Set End of Work Area handle to snap it to the playhead at frame 30, the duration of our animation.

  6. We just want the wave to slide from left to right. To do so, go to the Timeline panel and expand expand animatable properties the Rectangle 1 layer to view the list of properties that can be animated.

  7. Move the playhead to 0 by clicking the Go to first frame button first frame button at the top of the Timeline panel.

  8. Click the stopwatch stopwatch next to Transform to add the first keyframe keyframe middle.

  9. Move the playhead to frame 30.

  10. Select the Move tool move tool.

  11. Hold Shift and drag the wave rightwards any amount. Notice that a second Transform keyframe keyframe end is automatically added.

  12. Press Spacebar to preview.

    Notice how the wave jumps at each loop. Not quite the smooth movement we’re looking for.

  13. To create a more seamless movement, we’ll need to move the entire wave by a whole number of wavelengths. One wavelength is considered either the distance from one crest (the highest point) to the next crest, or from trough (the lowest point) to the next trough as shown below:

    wavelength

  14. Select the second keyframe keyframe end, and press the Delete key.

  15. Make sure the playhead is at 30 frames and pay attention to where the end of the wave is currently hitting the edge of the canvas. We want to move the entire wave over by 3 whole wavelengths so that it ends up looking the same as it does at frame 0.

    drag pink wave

  16. Hold Shift and drag to the right paying attention to each wavelength, until you’ve moved it over by 3 whole wavelengths.

  17. Click the Go to first frame button first frame button to move back to frame 0.

  18. To the left of Transform, use the arrows keyframe navigation to move between the two keyframes.

  19. It doesn’t have to be exact, but adjust the wave as needed so that it looks as similar as possible at both time frames. Feel free to use the Left and Right Arrow keys to nudge it into place (making sure the playhead is at frame 30).

  20. Once you’re happy with positioning, press Spacebar to preview. The wave should be looping seamlessly!

  21. Do a File > Save to save our Smart Object.

  22. Close the Smart Object window so that you’re back in the main PSD file.

Adding a Filter to an Embedded Animation

  1. In the Timeline, click the pink wave layer’s arrow expand animatable properties to expand the animation properties.

    Hmm, we don’t have any Transform keyframes here.

  2. Press Spacebar to confirm that our animation is still working. The animation has remained as it’s actually being done inside the smart object. We can now apply an additional filter to this layer without the animation inside the smart object being changed at all. Nifty!

  3. Make sure pink wave is selected and go to Filter > Distort > Wave.

  4. In the dialog that opens change the following Wave settings:

    • Number of Generators: 5
    • Min. Wavelength: 155
    • Max. Wavelength: 156
    • Min. Amplitude: 12
    • Max. Amplitude: 13

    NOTE: We’ve worked out some values that we think look good but in your own projects you would experiment with the settings until you find values that you like.

  5. Click OK to view the new distorted wave.

  6. Press Spacebar to preview. Looking good!

Copying Smart Objects

To create the other two waves we’ll duplicate this pink wave, and change the wave settings slightly. Unfortunately, we can’t just duplicate this layer as then the layers would reference the same smart objects. This would mean that if we changed the smart objects inside of one layer, any layers that have been duplicated would also be affected. Not what we want! Luckily, Photoshop lets us copy smart objects so that we can subtly change each of the wave animations.

  1. Ctrl–click (Mac) or Right–click (Windows) on the pink wave layer and select New Smart Object via Copy.

  2. Rename the new copied layer teal wave.

  3. Temporarily hide the pink wave layer by clicking its eye eye hide show icon.

  4. Double–click on the teal wave layer thumbnail to open the smart object in a new window.

  5. Double–click on Rectangle 1 to open it in a new window.

  6. In the Layers panel, double–click on the Rectangle 1 layer thumbnail and set the color to #00FFFF.

  7. Do a File > Save and close the window to return to the embedded wave.

  8. We’ll need to change the settings for the Wave filter so it looks a little different from the pink wave. In the Layers panel, double–click the word Wave to open the filter settings.

  9. In the dialog that opens change the following values:
    • Min. Wavelength: 135
    • Max. Wavelength: 136
    • Min. Amplitude: 67
    • Max. Amplitude: 68
  10. Click OK.

    Notice that we’ve made the wavelengths slightly longer for this wave.

  11. Press Spacebar to preview. The animation doesn’t quite loop as seamlessly anymore so we’ll need to adjust the Transform positioning at frame 30.

  12. In the Timeline, select the last keyframe at frame 30 and hit the Delete key.

  13. Move the playhead to frame 30 if it isn’t already.

  14. This time we’ll only move the wave rightwards by 2 wavelengths. Using the Move tool move tool, take note of where the wave ends, hold Shift and drag the wave rightwards so that it ends up looking the same as at frame 0.

  15. Use the keyframe navigation keyframe navigation to click back and forth between the two keyframes.

  16. Use the Arrow keys to nudge the wave as needed. Just get it as close as you can. We know this is a slightly tedious process, but it will be worth it in the end!

  17. Do a quick preview to confirm that it’s looking pretty good.

  18. Once you’re happy with it, hit Cmd–S (Mac) or Ctrl–S (Windows).

  19. Hit Cmd–W (Mac) or Ctrl–W (Windows) to close the window and return to the main PSD file.

  20. Next, we’ll change the settings on the exterior wave filter. In the Layers panel, under the teal wave layer, double–click on the word Wave.

  21. Change the following values:
    • Min. Wavelength: 97
    • Max. Wavelength: 98
  22. Click OK.

  23. In the Layers panel, show the pink layer by clicking in the empty box where the eye eye hide show icon should be.

  24. Preview the animation so far.

    Very cool! We’re almost there.

Creating the Last Wave

  1. Let’s go ahead and create our last wave. Ctrl–click (Mac) or Right–click (Windows) on teal wave and select New Smart Object via Copy.

  2. Hide eye hide show icon both the pink wave and teal wave.

  3. Rename the new duplicate wave layer yellow wave.

  4. Double–click on the yellow wave thumbnail.

  5. Double–click on the Rectangle thumbnail.

  6. Double–click on the Rectangle thumbnail and set the color to #FFFF00.

  7. Click OK.

  8. Save the yellow rectangle smart object so that it’s updated in the parent layer.

  9. Close the window to return to the yellow wave smart object.

  10. In the Layers panel, double–click on the Wave filter to adjust the settings.

  11. Change the following values:
    • Min. Wavelength: 197
    • Max. Wavelength: 198
  12. Click OK.

  13. Once again, select and Delete the last keyframe.

  14. We only want this wave to move to the right by one wavelength. Move the playhead to frame 30.

  15. Using the Move tool move tool, hold Shift and drag the entire wave rightwards by one wavelength.

  16. Jump back to the first frame to check that the wave is looking the same at both keyframes.

  17. Once you’re satisfied, save and then close the window so that you’re back in the main PSD file.

  18. In the Layers panel, double–click the word Wave (under yellow wave) to change the filter settings.

  19. Change the following:
    • Min. Wavelength: 120
    • Max. Wavelength: 121
  20. Click OK.

  21. Show all the wave layers by clicking the empty boxes where the eye eye hide show icon should be.

  22. Preview the animation so far. That’s one snazzy soundwave!

Final Positioning & Blending Modes

  1. To finish things off, we need to show the text layer again. In the Layers panel, next to text content click in the empty box where the eye eye hide show icon should be.

  2. Currently, the waves are overlapping the text so let’s move them downwards. In the Layers panel, use Shift to select all 3 wave layers. (Make sure the text layer is not selected.)

  3. Using the Move tool move tool, hold Shift and drag the waves downwards so that the waves sit centered in the empty space below the text.

  4. Lastly, we want to adjust the blending mode for each of the 3 layers. With the 3 layers selected, at the top of the Layers panel, click on the Normal menu and select the Screen blending mode.

    This not only lightens the waves but helps them look like they aren’t stacked. It gives the illusion that they are all at the same depth, which we like.

  5. Preview once more. Nice!

  6. We’re done with this, so it’s time to export! Save the file.

Saving the GIF

  1. Go to File > Export > Save for Web (Legacy).

  2. There are no gradients and a limited number of colors in this GIF so from the Preset menu, choose GIF 128 No Dither.

  3. From the menu underneath GIF, choose Selective if it isn’t already.

  4. To get this GIF to loop after it’s done playing, go to the bottom right and set the Looping Options menu to Forever if it isn’t already.

  5. When you’re satisfied with the GIF quality and file size, click Save.

  6. Name the file: yourname-party-announcement.gif.

  7. Navigate into Desktop > Class Files > Animated GIFs Class > Party Announcement and click Save.

  8. Feel free to preview the GIF you just created by opening it in a browser.

photo of Dan Rodney

Dan Rodney

Dan Rodney has been a designer and web developer for over 20 years. He creates coursework for Noble Desktop and teaches classes. In his spare time Dan also writes scripts for InDesign (Make Book JacketProper Fraction Pro, and more). Dan teaches just about anything web, video, or print related: HTML, CSS, JavaScript, Figma, Adobe XD, After Effects, Premiere Pro, Photoshop, Illustrator, InDesign, and more.

More articles by Dan Rodney

How to Learn Photoshop

Master Photoshop, the industry-standard application for photo retouching, color correction, and more, with hands-on training.

Yelp Facebook LinkedIn YouTube Twitter Instagram