Home/Help/Animate/Wiggle and loop a track

ANIMATE

Wiggle and loop a track

A loop repeats a track's keys without adding keyframes, and a wiggle adds smooth random movement on top of it. Both stay settings on the track: change them, switch them off, or bake them into keys.

A propeller keeps turning from just two keyframes, and a bee buzzes along its path.
WHAT YOU’LL MAKE

A propeller keeps turning from just two keyframes, and a bee buzzes along its path. This one is the real exported SVG, playing.

Do it in the editor: guided tour8 steps · about 3 minutes · opens a practice scene

Step by step

  1. Select the Rotate keys

    In the timeline, click Rotate under Propeller: its two keys are selected. They turn it a quarter turn in half a second, then it stops.

  2. Open Loop

    Click Loop… in the timeline header (after Stagger). Its window opens where Easing does; drag its header to move it anywhere.

  3. Pick Offset

    Style Offset repeats the quarter turn from where it ended, so the propeller keeps turning. The timeline shows the repeats dashed, and the canvas plays them as you choose: nothing is kept until Apply.

  4. Apply it

    Click Apply (or press Enter). A pill after Rotate's name shows the loop: its icon switches it off and on, its text opens the window again.

  5. Select the bee's Position

    Click Position under Bee: its keys move it across the field in a straight line.

  6. Open Wiggle

    Click Wiggle… in the timeline header. A new wiggle loops over the whole length, so a looping animation repeats with no jump.

  7. Set the amount and apply

    Type 14 in Amount (pixels, either way) and press Enter (or click Apply). A squiggle on the lane shows the wiggle, and blue dots beside the motion path show the path the bee really takes.

  8. Play it

    Press Space. The propeller turns on and on, and the bee buzzes along its path.

Good to know. Loop can also go before the first key (as After Effects' loopIn) or both ways, repeat only the last keys, play a number of times, ping-pong or continue at the last key's speed. On the canvas, a moving layer shows its played path: blue dots tracing where the wiggle or loop really takes it. Bake to keys (in the window, or Track › Bake to keys in a key's right-click menu) writes it into ordinary keyframes. The JS export plays them as they are; a CSS export writes them out as keyframes.

Keys

EnterApply
EscCancel
SpacePlay and pause