Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Create a dynamically rotating Graphics3D object
| ResourceFunction["SpinShow"][gr] displays Graphics3D object gr so that it rotates dynamically. | |
| ResourceFunction["SpinShow"][gr,n] displays Graphics3D object gr so that it rotates dynamically with a period of n seconds. | 
Create a rotating 3D plot:
| In[1]:= | ![ResourceFunction["SpinShow"][Plot3D[Sin[x y], {x, 0, 4}, {y, 0, 4}]]](https://www.wolframcloud.com/obj/resourcesystem/images/005/005526b5-8284-47cd-a5f7-9a6c46efd298/3ba9d900c7450ac1.png) | 
| Out[1]= |  | 
The default rotation period is 10 seconds, but you can create plots that rotate more slowly:
| In[2]:= | ![ResourceFunction["SpinShow"][
 Plot3D[Sin[x y], {x, 0, 4}, {y, 0, 4}], 60]](https://www.wolframcloud.com/obj/resourcesystem/images/005/005526b5-8284-47cd-a5f7-9a6c46efd298/3e6589317496f5d5.png) | 
| Out[2]= |  | 
Or more quickly:
| In[3]:= | ![ResourceFunction["SpinShow"][Plot3D[Sin[x y], {x, 0, 4}, {y, 0, 4}],
  4]](https://www.wolframcloud.com/obj/resourcesystem/images/005/005526b5-8284-47cd-a5f7-9a6c46efd298/1193bc9966b007c3.png) | 
| Out[3]= |  | 
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License