Description Usage Arguments Author(s) Examples
Render a WebGL Shiny output.
1 2 | renderWebGL(expr, width = "auto", height = "auto",
env = parent.frame(), quoted = FALSE)
|
expr |
The expression to be evaluated which should produce a rgl scene. |
width |
Either "auto", in which case the width will be calculated (reactively) based on the size of the glOutput element associated with this function, or a numeric value representing the width of the desired WebGL scene in pixels. |
height |
The height of the WebGL scene. See
|
env |
The environment in which |
quoted |
Is |
Jeff Allen jeff@trestletech.com
1 2 3 4 5 6 | ## Not run:
renderWebGL({
points3d(1:10,1:10,1:10)
})
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.