spin3d {tkrgl} | R Documentation |
This function creates a TCL/TK window containing buttons to spin and resize one or more rgl windows.
spin3d(dev = rgl.cur(), ...)
dev |
A vector of one or more rgl device numbers to control |
... |
Arguments to pass to |
Ming Chen and Duncan Murdoch
if (interactive()) { library(rgl) open3d() rgl.bringtotop(TRUE) points3d(rnorm(100), rnorm(100), rnorm(100), size=3) axes3d() box3d() tkrgl::spin3d() # rgl also has a function called spin3d! }