renderVideos: Renders mp4 and gif videos from array of image files

Description Usage Arguments Value Examples

View source: R/3Dplotting.R

Description

Renders mp4 and gif videos from array of image files

Usage

1
2
3
4
5
6
7
8
9
renderVideos(
  files,
  rewindLoop = F,
  loop = 0,
  framerate = 16,
  makegif = FALSE,
  gifShrinkage = 4,
  ...
)

Arguments

files

Array of files used to create animation

rewindLoop

Should animation go forth and back? Default: FALSE

loop

How often should video be looped? Default: 0

framerate

Framerate. Default: 16

makegif

Should also a gif be created with gifski? Default: FALSE

gifShrinkage

Factor by which gif should be shrinked

Value

mp4 filename

Examples

1
brick2movie(br, eleRast = globalDEM0.5deg, gaussianSmoothSigma = 1, renderVideo = F, renderSphere=T, renderOcean=T, pal=rev(pal_MR$divViriMagma), renderCountries = T, thetaStartEnd = c(0,360), nSubSteps = 2, nRounds = 10) %>% renderVideos()

mreichMPI-BGC/plotmr documentation built on Feb. 8, 2022, 5:41 p.m.