Skip to contents

Quickly renders and displays a low-quality preview of the scene. Useful for iterating on animations without waiting for full renders.

Usage

preview(scene, fps = 15, quality = "low")

Arguments

scene

A Scene object

fps

Preview fps (default: 15 for speed)

quality

Preview quality (default: "low")

Value

Invisibly returns the preview file path

Examples

if (FALSE) { # \dontrun{
scene("demo") %>%
  add_text("Quick preview") %>%
  write_in() %>%
  preview()
} # }