Set Spin animation
setSpin(NGLVieweR, spin = TRUE)
setSpin parameter to TRUE
or FALSE
in NGLVieweR
htmlwidgets
object.
Other animations:
setRock()
,
updateRock()
,
updateSpin()
,
updateZoomMove()
NGLVieweR("7CID") %>%
addRepresentation("cartoon", param=list(name="cartoon", colorValue="blue")) %>%
setSpin(TRUE)