top of page
Silky White Fabric

MY THOUGHTS ON DESIGN STUFF

Search

Crafting Seamless Motion: Looping Wiggle Expression in After Effects

  • Writer: Kat Leah
    Kat Leah
  • Feb 12, 2024
  • 2 min read

Struggling with getting a wiggle animation to loop smoothly can be incredibly frustrating. Imagine spending hours adjusting settings, only to find that the loop doesn't quite work right. It's like trying to solve a puzzle where the pieces just won't fit together no matter what you do. Each failed attempt feels like hitting a dead end, leaving you scratching your head in frustration. But then, amidst the exasperation, there's a glimmer of hope – a solution in the form of a simple piece of code. With the right expression, like the one I have, suddenly everything clicks into place. It's like finding the missing piece of the puzzle, transforming the animation from disjointed chaos into a seamless loop of fluid motion.


As motion graphic designers, we often seek ways to bring life and movement to our designs. One popular technique is using expressions in Adobe After Effects to create dynamic animations. In this tutorial, we'll explore how to use an AE code to loop a wiggle and apply it to create a charming Valentine's Day animation featuring a heart-shaped balloon floating back and forth.



Tutorial Steps:


Step 1: Setting up the Composition

  • Open After Effects and create a new composition.

  • Import your heart balloon graphic and place it in the composition.


Step 2: Adding Expression to the Position Property

  • Select the heart balloon layer and press 'P' to reveal the Position property.

  • Alt-click (or Option-click on Mac) the stopwatch icon next to Position to open the expression field.


Copy and paste the following expression:

freq = 1;
amp = 110;
loopTime = 4;
t = time % loopTime;
wiggle1 = wiggle(freq, amp, 1, 0.5, t);
wiggle2 = wiggle(freq, amp, 1, 0.5, t - loopTime);
linear(t, 0, loopTime, wiggle1, wiggle2)

Step 3: Understanding the Expression

  • Unravel the intricacies of the expression as 'wiggle' generates fluctuating motion based on defined parameters. Tune 'freq' for frequency adjustment and 'amp' for amplitude control, tailoring the animation's speed and intensity. 'loopTime' dictates the duration of the loop, ensuring seamless repetition of the animation. Witness the magic of 'linear' as it orchestrates smooth transitions between wiggle cycles, creating a fluid animation loop.

Step 4: Expanding Possibilities: Utilizing Rotation and Puppet Tool

  • Extend the versatility of the looping wiggle expression by applying it to rotation properties or incorporating the Puppet Tool for intricate motion manipulation. Experiment with rotational values to add dynamic spins or twists to your animation, or delve into the world of character animation by using the Puppet Tool to create detailed movements with organic fluidity.


Step 5: Infusing Creativity

  • Let your imagination run wild as you explore various adjustments to 'freq', 'amp', and 'loopTime', giving rise to unique motion designs tailored to your vision.

Step 6: Marvel at the Results

  • Preview your animation and revel in the mesmerizing movement brought to life through the looping wiggle expression.

Step 7: Adding Finesse

  • Elevate your animation by incorporating additional elements, refining timing, or experimenting with effects to further enhance its visual appeal.


In the realm of motion design, the looping wiggle expression stands as a beacon of creativity, offering endless possibilities to craft seamless and captivating animations in Adobe After Effects. Armed with the knowledge of this powerful tool, motion graphic designers can breathe life into their creations, mesmerizing audiences with dynamic motion that leaves a lasting impression. Dive deep into the world of looping wiggle expressions and unleash your creative potential, one mesmerizing animation at a time.

 
 
 

Comments


bottom of page