Augmented Reality in R.
# install.packages("devtools")
devtools::install_github("JohnCoene/arframer")Or you can install all packages and components at once with vrr, Virtual Reality in R (with another R):
# install.packages("devtools")
devtools::install_github("JohnCoene/vrrr")Point your camera to a hiro marker.
library(aframer)
library(arframer)
browse_aframe(
ar_scene(
a_box(
position = "0 0.5 0",
material = "opacity: 0.5;"
),
ar_marker_camera(
preset = "hiro"
)
)
)Hit the button below to view the output of the above, you’ll have to point your camera to hiro marker.
Demo