This function creates a TCL/TK window containing buttons to spin and resize one or more RGL windows.

tkspin3d(dev = cur3d(), ...)

Arguments

dev

A vector of one or more RGL device numbers to control

...

Named parameters in that match named formal arguments to tkspinControl are passed there, while others are passed to tktoplevel

Author

Ming Chen and Duncan Murdoch

See also

Examples

if (interactive() && !in_pkgdown_example()) {
    open3d()
    points3d(rnorm(100), rnorm(100), rnorm(100), size=3)
    axes3d()
    box3d()
    tkspin3d()
}