Shake2show component for aframer
# install.packages("devtools")
devtools::install_github("JohnCoene/ashake")
This is a basic example which shows you how to solve a common problem:
library(aframer)
library(ashake)
browse_aframe(
a_scene(
a_dependency(),
ashake_dependency(cdn = TRUE),
a_entity(
shake2show = NA,
visible = "false",
a_box(
position = xyz_aframe(0, 1, 3),
color = "black"
)
),
a_entity(
camera = NA,
`look-controls` = NA
)
)
)