vec: Create a sequence animation

Description Usage Arguments Details Value Author(s) Examples

View source: R/build.R

Description

Sequence animations are a collection of animations where each animation occurs one after the other. A sequence animation can have any type of animation as its children.

Usage

1
vec(..., start = 0, durn = NULL, label = labelSel())

Arguments

...

Animation objects to add as children.

start

The starting time of the animation.

durn

The duration of the animation.

label

A label used to describe the animation.

Details

When the duration is NULL, the duration of the animation is inferred from its children.

If start or durn is NULL, they then refer to the starting times and durations of their children. The starting times are relative to the starting times of the track animation itself.

Value

A vec animation object.

Author(s)

Paul Murrell.

Examples

1
2
3
4
a <- atomic(start = 2, durn = 4, label = "a")
b <- atomic(durn = 3, label = "b")
v <- vec(a, b)
v

pmur002/animaker documentation built on May 25, 2019, 10:20 a.m.