Skip to content

Animating with Generators

Parameter evolution over time

In order to animate a parameter, you can use:

We will go over Generators, as the Animator Modifier and Keyframes will be described in separate sections.

Let's start with a simple logo in a new composition and look over its Position param, in the Transform section:

Picture

By clicking on the Generator slot and scrolling in the right box, we can add a Random Generator.

Picture

Once the generator has been created and connected to the Position parameter, it is selected to display its parameters. This generator also appears in the Selection Overview by unfolding the Transform group.

Picture

If we click again on the first line of the Selection Overview, we see that the values of the Positon parameter are grayed out which indicates that they can no longer be edited manually, as the Generator is overwriting the original values and is taking complete control of the parameter.

Picture

However, these original values are not lost because they are embedded in the parameter. If the Generator is disconnected or deleted, this data will reappear and be available to edit again.

Set the Minimum value to -250, the Maximum to 250, switch Varying to Time, and press Play in the Viewer.

In the video below, we also use Multi-Editing in Multiply mode with a value of -1.0, in order to make the two opposite values used for Minimum and Maxium evolve at the same time.

  • Two random, separate values are defined for X and Y at each frame
  • The logo then "jumps" from one position to the other with each new image

Note

Although both Random Seed values are set to 0, two different values are generated internally. This saves time when using this generator.

Once these values are generated, you can modify them by adding Modifiers to the Position parameter.

Generators can control other Generator Parameters

In the above example, a Random Generator was added onto the Position parameter and took control; but, this Generator also has its own parameters with a Generator slot and a button to add Modifiers. So it's also possible to control Generators with other Generators, and so on without limitations.

Picture

In the example above:

  • The Minimum parameter of the Random generator is controlled by an Oscillator generator.
  • Maximum replicates the value of Minimum thanks to a link between the two parameters
  • A Math modifier in Multiply mode with a value of -1.0 is added to Maximum parameter.