Browse or embed an aframe.

browse_aframe(a)

serve_aframe(a)

embed_aframe(a, width = "100%", height = "400px")

Arguments

a

An aframe.

width, height

Dimensions of DOM containing aframe, must be valid CSS.

Note

Keep the width at 100% for a responsive visualisation.

Examples

browse_aframe( a_scene( a_dependency(), a_box( color = "blue", position = xyz_aframe(0, 1, -5) ) ) )