Description Usage Arguments Value
Function creates a new window with options for background color, size, camera angles, field of view angle, and zoom.
1 2 | device_new(bgrd_color = "white", width = 640, height = 640,
vp_theta = 0, vp_phi = 15, vp_fov = 60, vp_zoom = 1)
|
bgrd_color |
The String background color of the window. Default is "white". |
width |
The integer width of the window in pixels. The default is 640. |
height |
The integer height of the window in pixels. The default is 640. |
vp_theta |
The rotation of the camera. The default is 0. |
vp_phi |
The rotation of the camera. The default is 15. |
vp_fov |
The field of view angle. The default is 60. |
vp_zoom |
The degree of zoom for the camera. The default is 1. |
The newly created integer id for the device window.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.