Skip to contents

Triggers a fireworks display on screen.

Usage

fireworks(
  duration = 5,
  speed = 1,
  width = "100%",
  height = "0px",
  elementId = NULL
)

fireworksOutput(outputId, width = "100%", height = "0px")

renderFireworks(expr, env = parent.frame(), quoted = FALSE)

Arguments

duration

Number of seconds to run (default 5).

speed

Number. Speed of simulation (default 1).

width

Must be a valid CSS unit (like '100%', '400px', 'auto') or a number.

height

Must be a valid CSS unit (like '100%', '400px', 'auto') or a number.

elementId

Optional ID.

outputId

output variable to read from

expr

An expression that generates fireworks

env

The environment in which to evaluate expr.

quoted

Is expr a quoted expression?