animate: Create an animated gif from a list of stimuli

Description Usage Arguments Value Examples

View source: R/animate.R

Description

Create an animated gif from a list of stimuli

Usage

1
animate(stimuli, fps = 1, loop = 0, rev = FALSE, filename = NULL)

Arguments

stimuli

list of class stimlist

fps

frames per second

loop

how many times to loop the animation (0 = infinite)

rev

whether to loop back and forth (TRUE) or in one direction (FALSE)

filename

an optional filename for saving

Value

magick image

Examples

1

facelab/webmorph documentation built on April 11, 2021, 6:34 a.m.