Shake2show component for aframer
This is a basic example which shows you how to solve a common problem:
library(aframer)
library(ashake)
embed_aframe(
a_scene(
a_dependency(),
ashake_dependency(),
a_entity(
shake2show = NA,
visible = "false",
a_box(
position = xyz_aframe(0, 1, 3),
color = "black"
)
),
a_entity(
camera = NA,
`look-controls` = NA
)
)
)