trac: Create a track animation

Description Usage Arguments Details Value Author(s) Examples

View source: R/build.R

Description

Track animations are a collection of animations that play simultaneously. A track animation can have any type of animation as its children.

Usage

1
trac(..., 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 trac 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")
t <- trac(a, b)
t

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