timing: Create a timing scheme from animation sequences

Description Usage Arguments Value Author(s) Examples

View source: R/timing.R

Description

The main purpose of creating animation sequences is to coordinate timing of animation actions. The timing method turns a description of an animation into a timing scheme.

A timing scheme simply says when an animation occurs, for how long it should occur, and also the context in which the animation occurs. The context is only useful when vec and trac animations have been used. In the case of a sequence animation, it is able to tell us which iteration within a sequence an animation occurs in. For track animations it can tell us which track an animation occurs within.

Usage

1
timing(x, ...)

Arguments

x

An animation object.

...

Parameters passed onto specific methods.

Value

A timing object.

Author(s)

Paul Murrell.

Examples

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

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