Easily create options.

opts_aframe(...)

vect_aframe(vect)

xyz_aframe(x, y, z)

Arguments

...

Any aframer argument.

vect

Vector of coordinates.

x, y, z

Coordinates.

Examples

(opts_aframe(event = "mouseenter", color = "#8FF7FF", boolean = TRUE))
#> event: mouseenter;color: #8FF7FF;boolean: true;
coord_vect <- vect_aframe(c(0, 1, 0)) (coord_xyz <- xyz_aframe(0, 1, 0))
#> 0 1 0
identical(coord_vect, coord_xyz)
#> [1] TRUE