webGLOutput: Renger a WebGL Element

Description Usage Arguments Author(s) Examples

Description

Render a WebGL renderWebGL in an application page.

Usage

1
  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.

Author(s)

Jeff Allen jeff@trestletech.com

Examples

1
2
3
4
## Not run: 
   webGLOutput("sctPlot")

## End(Not run)

trestletech/shinyRGL documentation built on May 31, 2019, 7:50 p.m.