Curve Editor: Value Graph
Graph Editor Overview
The Graph Editor is one of the modules of the timeline, like the Dopesheet. It is accessible on the right side via a button representing a curve.
Once activated, the right part of the timeline will be entirely replaced by a graph allowing to modify the interpolation of curves created from keyframes, but also to inspect the evolution of a parameter following the use of Generators and Modifiers.
Ce module contient deux modes différentes:
- Value Graph: displays and controls the evolution of numerical parameters over time.
- Retime Graph: displays and controls the evolution of a layer or spatial parameter along a Motion-Path
Here we'll concentrate on the Value Graph mode, then the next chapter will focus on the Retime Graph.
Displaying a Parameter in the Graph Editor:
To display the evolution of a parameter in the Graph Editor, select it in the Timeline or Inspector.
Depending on the parameter type selected, the Graph Editor automatically swicth to Value Graph or Retime Graph mode, depending on whether the parameter is spatial or not.
In the example above, the Layer Rotation is animated by two keyframes, evolving from 180 to 0 degrees over a period of 1 second.
- The vertical scale represents the value in degrees: on the left, values rise to 180
- The horizontal scale represents time: on the right, the last keyframe is positioned at 1 second.
Navigating the Graph Editor:
If the vertical scale displays values from 0 to 180, that's because selecting the parameter automatically fits the graph editor between the keyframe with the highest value and the one with the lowest.
The shortcuts for moving and zooming in the graph are the same as those for moving in the Dopesheet, with a slight difference for zooming.
-
Panning (in all directions):
- Space + Left Button
- Middle Button
- Alt/Option + Left Button
-
Zoom:
- Alt/Option + Mouse wheel: zoom/unzoom only horizontally until the entire composition is visible, then zoom/unzoom vertically
- Mouse wheel: zoom/unzoom both horizontally and vertically
- Ctrl/Cmd + Alt/Option + Left Button: the direction taken by the mouse will define whether the zoom is horizontal or vertical
- F key to fit the current selection
You can also use the scroll bars at the bottom.
Warning
Shortcuts in Autograph are contextual and dependent on your mouse position. These shorcuts are valid when your mouse cursor is over the Graph Editor.
A button at the top right of the panel allows you to fit the current selection, rather than pressing the F key.
Keyframe Properties Dock
On the right, the Curve Editor permanently displays the Keyframe Properties Dock already mentioned in the Keyframe section.
This dock displays information on the selected key. If several keys are selected, the one furthest to the left is displayed, even if the dock shows that two keyframes are selected.
Warning
If several keyframes are selected, any changes made in the Dock will be applied to all these keys.
Analyzing the Rotation animation in the Value Graph is easy to understand, as we've selected a single parameter made up of a single dimension for a 2D layer.
Selecting a key displays the following parameters:
- Time: the time at which the key is located, defined in seconds
- Value: the parameter value stored in the key
- Interpolation: the interpolation type assigned to the key
- Adaptive Time: switches a key to Adaptive mode whenever possible
The Slope section defines the tangent parameters displayed on either side of the point.
- Left Slope: tangent slope to the left of the point
- Left Amount: tangent tension defined by its length
- Right Slope: tangent slope to the right of the point
- Right Amount: tangent tension defined by its length
Warning
Depending on the interpolation assigned to a keyframe, such as Linear mode, the Left or Right parameters may not appear in the dock.
Changing Keyframe Interpolation:
Interpolation of selected points can be changed during playback, to quickly test the available modes.
Press the middle button to scroll through the list without having to click on the scroll bar:
In the video above, the Play Visible Range option has been activated to loop only what is visualized in the Graph Editor.
Manual Tangent and Point Adjustment
Keyframe values can be modified in the Keyframe Properties Dock or by manipulating graph points directly.
- Moving a point horizontally changes its Time parameter
- Moving a point vertically changes its Value
Moving a Keyframe Between Images:
The high precision with which these values can be modified allows you to place a Keyfarme between two images in the composition. But in the same way as for Layer Time Offsets, pressing the Ctrl/Cmd key while moving a point allows you to move a key between two frames.
In the video below, the point is first moved without the Ctrl/Cmd key, magnetizing to the nearest frame, then this key is pressed during movement.
Adding a Point on Curve:
To add a point to a curve, press the Alt/Option key and click on it.
In the video above, we also switch all keyframes to Horizontal mode to create acceleration and deceleration between each point.
Handling Several Points using the Control Box:
Selecting several keyframes with a selection rectangle brings up a control box.
- Handles on edges stretch points and their tangents, horizontally or vertically
- The box corners evenly resize the whole box
- Central point moves all points
Restrict Movement to One Dimension:
By default, the center point can be manipulated in any direction. But a button at the top of the Curve Editor allows you to constrain point movement to one axis only.
This axis is automatically defined according to the mouse direction.
Manually Tweaking Tangents:
Shortcuts used to manipulate tangents are the same as those used to edit points on a Motion-Path.
- Press the Alt/Option key then click and drag the point to draw a new tangent
- Press the Ctrl/Cmd key then a tangent click and drag a tangent point to break them
Working on Several Separated Dimensions
The Curve Editor in Value Graph mode is not really recommended for working with spatial parameters in Unified mode, as is the default for Position.
This is why it automatically switches to Retime Graph mode when such a parameter is selected.
However, if Position is switched to Separated mode, each parameter is of 1D type and can be manipulated independently.
Colors are used to differentiate dimensions:
- X: Red
- Y: Green
- Z: Blue (for 3D Layers and 3D Items, such as Mesh Layers, Camera and Lights)
We see that the parameter names are displayed next to the corresponding curves.
Color parameters in Separated mode (below is a Circle Generator color) will be represented by Red, Green, Blue and White curves for the Alpha channel.
Inspecting Parameters using Generators and Modifiers
Selecting a parameter allows to display its animation curve, whatever the way you animate it:
- Keyframes
- Generators
- Modifiers
Generators:
By adding a Noise generator on a Rotation we can see in the Graph Editor its evolution in time.
Once you've added this generator, click again on the Rotation parameter to see its evolution, then access the Noise parameters.
Modifiers:
The same is true if this parameter is animated with keyframes, while undergoing modifications by adding a modifier.
Once again, a Noise Modifier is added to the keyframe animation:
Note
Two curves are displayed in the Graph Editor. The solid curve represents the original movement created by the keyframes, while the dotted one represents the movement after the modifier has been applied.