Dynamic Rendering
Generate variations of your compositions at render time.
Last updated
Was this helpful?
Generate variations of your compositions at render time.
Last updated
Was this helpful?
Dynamic Rendering can be used to generate different values at render time and so generate many variations of the same single Composition.
Options for Dynamic Rendering can be found in the .
In the simple example below, we're connecting the Dynamic Index to the Array Index of a and then previewing the results by using the Dynamic Index Offset. A value of 0 reads the first index (green) on the Color Array, a value of 1 gives us the second (yellow) and 2 gives us the third (blue).
To output all three variations we'd set the Number of Renders under the Dynamic tab to 3 and then hit Render. During rendering, Cavalry will iterate through Dynamic Index 0, 1 and 2 and output separate files for each one.
Imagine what a time saver this could be for all 32 NFL teams when your client wants to change the height to 40px!
Create variations on some abstract procedural artwork/animations.
Set up versioning for your endboards.
A/B testing.
Output personalised advertising.
...
The Dynamic Index has also been connected to the Array Index on a which is then connected to the Sides attribute on a (Polygon).
In the following example we've used exactly the same technique but via a node containing team names and hex values to drive a Text Shape and the coloured background Shapes. The logos are set up with two SVG Assets added to an and then connected to an .