Rotates the object at a given speed.
1 2 |
rdog |
rdog object to add the animation to. Can be a character if called from a code block in shiny |
id |
Id of the animation. You should set this if you want to be able to check if this animation is running when getting inputs in a shiny app |
addTo |
Which element should this animation be added to. If NULL, animation will be set to the entire illustration. |
frames |
How many frames should the animation run for. Usefult for animations triggered in shiny applications |
rotate |
Rate of rotation per frame in radians. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.