view.Rd
Browse or embed an aframe.
browse_aframe(a) serve_aframe(a) embed_aframe(a, width = "100%", height = "400px")
a | An aframe. |
---|---|
width, height | Dimensions of |
Keep the width
at 100%
for a responsive visualisation.
browse_aframe( a_scene( a_dependency(), a_box( color = "blue", position = xyz_aframe(0, 1, -5) ) ) )