library(htmltools)
div( class = "row", div( class = "col-md-3", img(src = "logo.png") ), div( class = "col-md-9", "Environments for", tags$a( href = "https://aframer.john-coene.com", target = "_blank", "aframer" ) ) )
You can install the released version of aenvironment from CRAN with:
# install.packages("devtools") devtools::install_github("JohnCoene/aenvironment")
18 built-in presets.
none
default
contact
egypt
checkerboard
forest
goaland
yavapai
goldmine
threetowers
poison
arches
tron
japan
dream
volcano
starry
osiris
library(aframer) library(aenvironment) embed_aframe( a_scene( a_dependency(), aenvironment_dependency(), a_environment( environment = aframer::opts_aframe( preset = "forest" ) ) ) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.