Set Spin animation
setSpin(NGLVieweR, spin = TRUE)
A NGLVieweR object.
If TRUE
(default), start spinning and stop rocking
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)