| movieSpin3d | R Documentation |
movieSpin3d is basically just a wrapper for
movie3d(spin3d(axis=axis,
that sets the duration to the value of '60/rpm-1/fps', which
results in a sequence of frames that form a continuous animation
when repeated. This is in contrast to setting the duration to the
value of 60/rpm, which results in rendering the last frame
identical to the first one, thus making the animation non-smooth.
rpm = rpm), fps = fps, ...)
sealso<< rgl::movie3d, play3d
movieSpin3d(axis, rpm,
fps = 5, ...)
axis |
|
rpm |
the speed of rotation (rotations per minute) |
fps |
frame rate (frames per second) |
... |
additional arguments passed to movie3d |
Tomas Sieger
##dontrun:
#movieSpin3d(axis=c(1,1,1),rpm=5,fps=4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.