Animation library

RXLAB_VIDEO
This video is part of the official comprehensive video course about Duik Ángela

The animation library is a quick and easy way to store, manage and share reusable animations.

It’s both a panel in Duik, and a folder on your disk, so that it can easily be synchronized1 and shared.

Panel

You can use the field on the top of the panel to quickly search for animations and navigate in the categories.

  1. Select the layers receiving the animation.
  2. Select an animation in the list.
  3. Click the apply button to apply the animation on the current layers at the current time.
    You can [Shift] + [Click] the button to access additional options.

You can click the folder icon to open the folder where the library is stored, or [Alt] + [Click] it to tell Duik to use another folder. If a library is already available in the new folder, it will be automatically loaded; this is an easy way to keep multiple libraries on the same system.
By default, the library is in the Duik subfolder of your documents folder, which is where settings, notes, and translations are also stored by default.

With the next buttons, you can change how the items are sorted in the panel, and refresh the library if you’ve manually added new files or if something is missing in the list.

Note

For now (2024) the animations are applied as is, which makes it necessary to manually adjust the position and other spatial values when transferring an animation from a character to another with different proportions. Other properties should work fine though.

This is going to change though as we’re working on a way to automagically adapt animations to the character receiving it, by also storing the proportions from the original character to be able to apply a ratio before applying them to the new character (or prop).

Options

You have the option to apply all available values to all properties, or only apply the animated ones (the ones with keyframes).

You can also choose which type of properties to use or ignore, by checking the icons:

The new values can either replace (absolute) or be added (offset) to the current values, and you can optionally reverse the keyframes in time.

Editing the library

Add

Click the add button to add a new category, or a new animation from the currently selected layers, in the current library category.

When adding a new animation, you have the option to automatically bake all expressions to keyframes. For more options on the baking process, you could instead use the Bake Expressions 2 tool beforehand.

Duik renders the current frame of the composition to use it as a thumbnail.

Edit

Select a category and click the edit button to edit its name.

Select an animation and click the edit button to change its thumbnail, its name, replace it by another animation or add it to your favorites.

Note

When updating the thumbnail, Duik will use the current frame of the active composition, which can be any composition and not necessarily the one containing the original animation.

Remove

Select a category or an animation and click the remove button to remove it.

Folder

The animation library containing folder has the same hierarchy as the categories in the panel. Changing the files and their location in this folder will actually also change them in the library panel.

Some metadata, like the favorites and history, is stored in the Duik_animation_library.json file at the root of the main folder.

Note

For now (2023), animations are stored using a duio format which is specific to Duik and DuIO 3, but this is going to change soon when OKA, the Open Keyframe Animation format RxLaboratory is developing will be available.

Thumbnails are stored as .png files named after the animation .duio file.

META


  1. Files can easily be synced between computers using tools like DropBox, OneDrive, etc. But we strongly recommend using the free and open source Syncthing: syncthing.net 

  2. cf. Automation and Expressions / Tools / Bake Expressions

  3. DuIO is a collection of tools for exporting and importing stuff in After Effects. It is available at rxlaboratory.org/tools/duio