Learn R Programming

shinyRGL (version 0.1.0)

webGLOutput: Renger a WebGL Element

Description

Render a WebGL renderWebGL in an application page.

Usage

webGLOutput(outputId, width = "100%", height = "400px")

Arguments

outputId
The ID of the glOutput associated with this element
width
The width of the WebGL scene. Must be a valid CSS unit (like "100%", "400px", or "auto") or a number, which will be treated as a number of pixels.
height
Plot height. See width for details.

Examples

Run this code
## Not run: 
#    webGLOutput("sctPlot")
# ## End(Not run)

Run the code above in your browser using DataLab