M-File Help: tranimate View code for tranimate

tranimate

Animate a coordinate frame

tranimate(p1, p2, options) animates a 3D coordinate frame moving from pose X1 to pose X2. Poses X1 and X2 can be represented by:

tranimate(x, options) animates a coordinate frame moving from the identity pose to the pose x represented by any of the types listed above.

tranimate(xseq, options) animates a trajectory, where xseq is any of

Options

'fps', fps Number of frames per second to display (default 10)
'nsteps', n The number of steps along the path (default 50)
'axis', A Axis bounds [xmin, xmax, ymin, ymax, zmin, zmax]
'movie', M Save frames as files in the folder M

Additional options are passed through to TRPLOT.

Notes

ffmpeg -r 10 -i %04d.png out.avi

See also

trplot, Animate


 

© 1990-2014 Peter Corke.