YURIAN BARTER · BOOKS

Books › Move the World › Chapter 10

📘 Move the World · Chapter 10 of 21

Wiggle: the expression that moves everything without keyframes

Reading from United Arab Emirates? Here is chapter 10 of "Move the World" explained: the key ideas, one complete section and the challenge Yurian Barter gives at the end.

Here's the trick that surprises my students the most: you can animate without setting a single keyframe.

It sounds like magic. It's simple programming, and it's called an expression.

What this chapter covers

  • What an expression is
  • How to turn it on
  • What the two numbers mean
  • Where to use it
  • Where to go next
  • How to turn it off
  • The chapter challenge

What the two numbers mean

`wiggle(frequency, amplitude)`

  • Frequency: how many times per second it changes direction. That's the speed.
  • Amplitude: how far it strays from its original position. That's the range.

With `wiggle(2, 50)`, the layer moves twice per second, up to 50 pixels. With `wiggle(10, 5)`, it shakes very fast but barely noticeably: a vibration effect. With `wiggle(1, 300)`, it moves slowly and far.

If you set the amplitude too high, everything moves wildly. The key is subtlety.

Your challenge

Apply wiggle to the position of a circle with three different amplitudes: 5, 50, 300. Notice which one you'd use for a background, which one for a shaking effect, and which one is excessive. Then apply wiggle to the points of a gradient and adjust until it looks like a piece of cloth in motion.

What moves all the time gets programmed. What moves once gets animated.

Move the World book cover

Read the whole book

"Move the World" in PDF: 21 chapters, each with a challenge. $8.99, delivered to your email (charged in USD; your bank converts it to dirhams).

Get the PDF · $8.99

Or learn it free, with a certificate

Start the free Video Editing and Content Creation course in the Barter AI Academy app: short lessons, practice with an AI tutor and a certificate when you finish.

Start the free course

See the free Video Editing and Content Creation course in United Arab Emirates →

Related guides in United Arab Emirates

Wiggle Expression After Effects

All chapters of "Move the World"

  1. The Composition: Your Stage
  2. Layers and Tools
  3. Shortcuts: P, S, R, T and the Rest
  4. Keyframes: The Heart of Animation
  5. The Null Object: An Invisible Orchestra Conductor
  6. Your First Composite Animation: "Hello World"
  7. Text That Dances Letter by Letter
  8. Overlays and Blend Modes: The Makeup of Video
  9. Shapes, Strokes, and Gradients
  10. Wiggle: the expression that moves everything without keyframes
  11. Rotoscoping, Masks and Chroma Key
  12. Lights, Camera, 3D
  13. Solids, Anchor Points, and the Mask Trick
  14. Speed Curves: The Secret of Natural Motion
  15. Blur and Glow: Appear in Style
  16. Overlays: Textures and Light Transitions
  17. Premiere and After Effects: One Team
  18. Stick Text to a Wall: Camera Tracking
  19. Track an Object and Steady the Shake
  20. Puppet, Clone, and Plugins: Shortcuts With Permission
  21. The Final Project: 10 Seconds That Bring It All Together

← Shapes, Strokes, and GradientsRotoscoping, Masks and Chroma Key →