Skip to contents

Adds an arrow between two points.

Usage

add_arrow(
  scene,
  start = c(-1, 0, 0),
  end = c(1, 0, 0),
  color = "#FFFFFF",
  stroke_width = 2,
  tip_size = 0.2,
  opacity = 1
)

Arguments

scene

A Scene object

start

Start point

end

End point (where arrow head points)

color

Arrow color

stroke_width

Line width

tip_size

Size of the arrow head

opacity

Opacity

Value

The Scene object (invisibly) for piping