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.

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.99Or 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 courseSee 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"
- The Composition: Your Stage
- Layers and Tools
- Shortcuts: P, S, R, T and the Rest
- Keyframes: The Heart of Animation
- The Null Object: An Invisible Orchestra Conductor
- Your First Composite Animation: "Hello World"
- Text That Dances Letter by Letter
- Overlays and Blend Modes: The Makeup of Video
- Shapes, Strokes, and Gradients
- Wiggle: the expression that moves everything without keyframes
- Rotoscoping, Masks and Chroma Key
- Lights, Camera, 3D
- Solids, Anchor Points, and the Mask Trick
- Speed Curves: The Secret of Natural Motion
- Blur and Glow: Appear in Style
- Overlays: Textures and Light Transitions
- Premiere and After Effects: One Team
- Stick Text to a Wall: Camera Tracking
- Track an Object and Steady the Shake
- Puppet, Clone, and Plugins: Shortcuts With Permission
- The Final Project: 10 Seconds That Bring It All Together
← Shapes, Strokes, and GradientsRotoscoping, Masks and Chroma Key →
More books by Yurian Barter
You Are the Machine · Edit Like a Director · Mix Like a Producer · Ads That Sell · Google Finds You · Sell Without Pressure · Let Them Find You