rgl.ellipsoids | R Documentation |
Create a list of rgl ellipsoids oriented in space
rgl.ellipsoids(positions, sizes, angles, colour = "red", ...)
positions |
matrix of positions |
sizes |
matrix of axis lengths |
angles |
matrix of Euler angles |
colour |
colour of each ellipsoid |
... |
additional params |
each ellipsoid is specified by its position, dimensions, and Euler angles
rgl mesh
baptiste Auguie
Other user_level rgl:
rgl.ellipsoid()
cl <- helix(0.5, 1, 36, delta=pi/6, n.smooth=1e3) sizes <- equal_sizes(0.04,0.02,0.02,NROW(cl$positions)) ## Not run: require(rgl) ; rgl.ellipsoids(cl$positions, sizes, cl$angles, col="gold")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.