Modifying Curves

The Keyframe Editor lets you make changes to the curves between keyframes. This might be the Keyframe Editor’s most valuable feature. Although you can manually create nearly any curve shape to create the animation you want, Motion also provides tools to control the automatic interpolation and extrapolation of parameter values.

To set the interpolation for a curve, you select the keyframe you want to modify. The method you choose determines the distribution of values through, into, or out of the selected keyframe. By using different preset mathematical algorithms, you can dramatically alter the impact of your effects.

To set an interpolation method for a keyframe
  • Control-click a keyframe, choose Interpolation from the shortcut menu, then choose a method from the submenu.

  • Select multiple keyframes, Control-click one of them, choose Interpolation from the shortcut menu, then choose a method from the submenu.

    The interpolation method chosen is applied to the entire selection.

To set an interpolation method on a curve segment
  • Control-click a segment between two keyframes, choose Interpolation from the shortcut menu, then choose a method from the submenu.

    Only the segment between the surrounding two keyframes is affected by the interpolation method you choose. You can set different interpolation methods for other segments of the same curve.

    Figure. Keyframe Editor showing Interpolation submenu for curve segment.

When different interpolation methods are applied to segments of an animation curve, the methods used in the curve appear with a dash next to their name in the Interpolation submenu (in the Keyframe Editor parameter list).

Interpolation methods include the following:

Alternatively, you can apply an interpolation method to the entire parameter.

To change the interpolation method for an entire parameter
  • Click in the fifth column of the Keyframe Editor parameter list to open the Animation menu, then choose a method from the Interpolation submenu.

    Figure. Changing the interpolation method for an entire parameter using the Animation menu in the Keyframe Editor.

    The selected interpolation method is applied to that parameter’s curve.

To change the interpolation method for multiple parameters
  1. In the parameter list of the Keyframe Editor, Shift-click to select multiple parameters.

  2. Click in the fifth column of the Keyframe Editor parameter list to open the Animation menu, then choose a method from the Interpolation submenu.

    The selected interpolation method is applied to all selected curves.

Convert to Bezier

Bezier interpolation is the most flexible, allowing manual modification of the curve. Motion lets you convert any keyframe into a Bezier keyframe.

To convert a keyframe into a Bezier keyframe
  • While holding down the Command key, drag the keyframe in the keyframe graph.

    Bezier handles appear and your mouse movement controls one of the handles.

    Figure. Keyframe Editor showing a Linear keyframe being converted into a Bezier keyframe.

Note: Command-clicking a Bezier point resets it to Linear interpolation.

To simultaneously modify the handles for more than one control point, Shift-click to select multiple points, then adjust the tangents. If there are no tangents on the point, drag it while holding down the Command key.

To adjust tangents of a control point
  • Hold down the Option key and drag a tangent to adjust it independently of the other.

  • Hold down the Option key while dragging the handle of a control point with broken handles to lock them together again.

  • Control-click a tangent’s handle, then choose Link tangent to constrain one broken tangent to another so both move together.

  • Control-click a tangent’s handle, thenchoose Align Tangents to line both tangents up again.

To constrain a handle’s angle to 45-degree increments
  • While holding down the Shift key, drag the handle.

    Figure. Keyframe Editor showing a Bezier handle being moved while constrained.

Extrapolation

In addition to setting interpolation for areas between keyframes, you can define how Motion generates the values before the first keyframe and after the last one. This is known as extrapolation. When you set a such a method for a parameter, keyframes are added beyond your original keyframes, which is useful to extend the duration of an effect such as a moving background. Several extrapolation methods are available Before First Keyframe and After First Keyframe submenus in the Animation menu: Constant, Linear, Ping-Pong, Repeat, and Progressive.

To apply an extrapolation method to a parameter before the first keyframe
  • Click in the fifth column of the parameter list in the Keyframe Editor to open the Animation menu for the parameter to change, then choose an item from the Before First Keyframe submenu.

    Figure. Keyframe Editor showing Animation menu icon.
    Figure. Keyframe Editor inset showing Before First Keyframe submenu of Animation menu.
To apply an extrapolation method to a parameter after the last keyframe
  • Click in the fifth column of the parameter list in the Keyframe Editor to open the Animation shortcut menu for the parameter to change, then choose an item from After Last Keyframe submenu.

The following extrapolation options are available in the Before First Keyframe and After Last Keyframe submenus:

  • Constant: This method, the default, holds the beginning or ending segments of the curve to the same value as the first or last keyframe.
    Figure. Example of Constant keyframe extrapolation.
  • Linear: This method extends the curve beyond the first or last keyframes uniformly, along the existing trajectory of the first or last keyframe.
    Figure. Example of Linear keyframe extrapolation.
  • Ping Pong: This method copies the curve and repeats it, alternating forward and backward.
    Figure. Example of Ping Pong keyframe extrapolation.
  • Repeat: This method duplicates the curve, applying it again and again.
    Figure. Example of Repeat keyframe extrapolation.
  • Progressive: This method extends the curve by repeating the existing shape of the curve, but rather than returning to the exact values, repeats from the existing end value.
    Figure. Example of Progressive keyframe extrapolation.

Generate Keyframes Command

Ordinarily, keyframe extrapolation occurs without creating keyframes. This lets you experiment with various methods. However, you can convert an extrapolation method into keyframes to further manipulate them. This is done using the Generate Keyframes command. You can choose how many extrapolation cycles you want converted into keyframes. Cycles after the number chosen remain in the extrapolated state.

Figure. Keyframe Editor showing a path prior to extrapolation.
Figure. Keyframe Editor showing an extrapolated path.
Figure. Keyframe Editor showing an extrapolated path being converted into keyframes.
To convert extrapolation data into keyframes
  1. In the Keyframe Editor’s Animation menu, choose Generate Keyframes from the Before First Keyframe or After Last Keyframe submenu.

    The Generate Keyframes dialog appears.

    Figure. Generate Keyframes dialog.
  2. Choose the number of cycles to be keyframed.

  3. Click OK to confirm your selection.