Learn R Programming

rgl (version 1.3.1)

tkspin3d: 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

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

tkspinControl

Examples

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

Run the code above in your browser using DataLab