Learn R Programming

tkrgl (version 0.7)

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

See Also

spinControl

Examples

Run this code
# NOT RUN {
if (interactive()) {
    open3d()
    rgl.bringtotop(TRUE)
    points3d(rnorm(100), rnorm(100), rnorm(100), size=3)
    axes3d()
    box3d()
    spin3d()
}
# }

Run the code above in your browser using DataLab