Skip to main content

Composition

A composition is a single animated graphic: its layers, keyframes, size, frame rate and Actions. It's the unit you preview and export.

A project (a .loo file) can hold many compositions. They share the project's assets, so an image you import once can be used in every composition.

Managing compositions​

Compositions are listed in the Compositions view of the sidebar:

  • Click the New composition button to add a composition to the project.
  • Double-click a composition to open it. The breadcrumbs in the app bar show which composition is open.
  • Right-click a composition for more options:
    • Add to Composition places it in the open composition as a Composition element.
    • Duplicate makes a copy of it.
    • Delete removes it from the project.

Composition settings​

When no layer is selected, the Inspector panel shows the settings of the open composition:

SettingWhat it does
NameThe composition's name. It's also used for the file name of the exported graphic.
SizeWidth and height in pixels. Changing it also resizes every Composition element that shows this composition.
DurationLength of the timeline, in frames. See Duration and workspace.
Frame rateFrames per second.
BackgroundThe color behind the composition in Loopic. It's only for working in Loopic. Exported graphics have a transparent background.
Export code styleFormatted exports readable code, and Minified exports smaller files. Some plans can't change this setting.

Your plan may limit the size, duration and frame rate of exported graphics. You can still enter higher values in the Inspector. Preview Mode, Export Preview and the Export panel tell you when the exported graphic will be reduced.

Duration and workspace​

A composition has two lengths:

  • Duration is the length of the whole timeline, set in the Inspector.
  • The workspace is the part of the timeline that plays. It's the bar at the top of the Timeline panel. Drag its end to change it.

The exported graphic is as long as the workspace. Anything after the end of the workspace stays in the project but isn't played. The workspace can't be longer than the duration, so shortening the duration also shortens the workspace.

To make layers match the workspace, right-click them in the timeline and choose Fit to workspace or Fit end to workspace. See Timing.

Nested compositions​

A composition can be placed inside another as a Composition element. This is useful for reusing a group of layers several times, or for a part of a graphic that loops on its own, as in the Looping example.

To turn existing layers into a nested composition, select them, right-click one of them and choose Move to nested composition. Loopic creates a new composition with those layers and puts it back in their place as a single layer. Mask links between a moved layer and a layer that stays behind are removed, because masks can't cross compositions.

Actions and template definitions​

Each composition has its own code and its own data fields:

  • Actions: the composition's Main action and its Frame actions. Write them in the code view. See Actions.
  • Template definitions: the fields a playout system can send to the graphic, defined for each target system in the Template Definition Builder.