Tutorials1 min read

How to Make a Picture-in-Picture Animation

To create an eye-catching picture-in-picture animation, you'll need an image to animate.

Step 1

  • Create a rectangle (R).
  • Add a photo. You can use the Unsplash plugin.
  • Place the photo on top of the rectangle, select them, and create a mask (Ctrl+Alt+M).

Step 2

  • Scale up the photo inside the mask.
  • Select the mask group and turn it into a frame (Ctrl+Alt+G).
  • In the right-hand panel, check Clip content.

Step 3

  • Select the frame and turn it into a component (Ctrl + Alt + K).
  • Add a variant to the component (the Add variant button in the top toolbar).

Step 4

  • In the component's variant, select the photo inside the mask and rotate it by 50°.
  • Select the mask group and scale it down to 0 (K).

Step 5

Connect the variants with these settings:

  • While hovering
  • Smart animate
  • Slow: 300ms.

Step 6

  • Duplicate the entire component set.
  • In the duplicate, change the animation timing to Slow, 400ms.

Step 7

  • Duplicate the component set again and change the animation timing to Slow, 550ms.
  • Keep duplicating component sets and changing the animation duration.
  • Animation durations for all the sets:
    1. 250ms; 2. 400ms; 3. 550ms; 4. 700ms; 5. 850ms; 6. 1000 ms.

Step 8

  • Copy the first frame of every component set into your layout and place them in your frame in order: the 6th first, then the 5th on top of the 6th, the 4th on top of the 5th, and so on.
  • You should end up with this order in the layers panel on the left: Component 1, Component 2, Component 3, Component 4, Component 5.

Done

Your unusual animation is ready for your projects. You can use it for an eye-catching hero section load or as a hover effect on all kinds of cards.

Article updated

Subscribe to our regular digest

We'll send you useful articles and news from the world of AI, design, tech, and career growthdesign, and tech

Over 3,000 people already get our useful content