You can use animation curve nodes to create a two-dimensional graph that describes a changing value. The most common use is to describe how a value changes over time.
For example, you could graph how an object's velocity should change over time - describing it's acceleration or deceleration behavior. Another example could be to graph the changing rate of particle emissions over time when simulating a firework.
Using the Animation Curve node
Use the animation curve node to define a two-dimensional graph for an animation curve.
To edit the curve, select the thumbnail rectangle. This is initially a blank gray rectangle, but will show a preview of the graph.
Animation curve editor panel Choosing a preset curve
To load a preset curve, select a thumbnail at the bottom of the animation curve editor panel. If the preset that you want to use is not visible, select the cog icon to open the presets panel.
Saving a curve as a preset
To save a curve as a preset, complete the following steps:
In the animation curve editor, create the curve that you want to save as a preset.
In the lower-left corner of the animation curve editor, select the cog icon.
In the Presets panel, select New.
Adjusting keys on a curve
To move a key, select and drag the key.
To adjust the tangent of the curve at a key, first select the key, and then drag one of the grips that appears.
Adjusting a point on a curve Adding a key to a curve
To add a key, right-click on the curve, and then select Add Key.
Changing behavior outside of X bounds
By default, an animation curve clamps values outside the defined X (time) range. To change the behavior, select the cog icon next to either the first or last keys, and select the desired behavior from the list that appears.
Options to change behavior outside of set bounds The following table describes the available options.
The graph repeats the same shape.
The graph retains a constant value.
Accessing values from an animation curve
Use an Animation Curve Evaluate node to access values from an animation curve. You provide the time (X axis) value, and the node outputs the corresponding Y axis value.
Using an Animation Curve Evaluate node to access values from an animation curve