| setSpin | R Documentation |
Set Spin animation
setSpin(NGLVieweR, spin = TRUE)
NGLVieweR |
A NGLVieweR object. |
spin |
If |
setSpin parameter to TRUE or FALSE in NGLVieweR
htmlwidgets object.
setRock()
updateSpin()
Other animations:
setRock(),
updateRock(),
updateSpin(),
updateZoomMove()
NGLVieweR("7CID") %>%
addRepresentation("cartoon", param=list(name="cartoon", colorValue="blue")) %>%
setSpin(TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.