atomic: Create an atomic animation

Description Usage Arguments Details Value Author(s) Examples

View source: R/atomic.R

Description

An atomic animation describes an animation by providing two key parameters, the starting time and the duration. A label can be given to describe what an animation is supposed to be doing.

Usage

1
atomic(start = 0, durn = 0, label = labelSel())

Arguments

start

The starting time of the animation.

durn

The duration of the animation.

label

A label used to describe the animation.

Details

If durn is NA, the duration of the animation will fill to the remaining space in its container.

Value

An atomic animation object.

Author(s)

Paul Murrell

Examples

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

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