spin3d {tkrgl}R Documentation

Create TCL/TK controller for rgl window

Description

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

Usage

spin3d(dev = rgl.cur(), ...)

Arguments

dev

A vector of one or more rgl device numbers to control

...

Arguments to pass to spinControl

Author(s)

Ming Chen and Duncan Murdoch

See Also

spinControl

Examples

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!
}

[Package tkrgl version 0.8 Index]