MosaicFisheyeCamera.
rotation
(theta, n_steps, rot_vector=None, keep_focus=True)[source]¶Loop over rotate, creating a rotation
This will yield n_steps snapshots until the current view has been rotated by an angle theta
Parameters: | theta : float, in radians
n_steps : int
rot_vector : array_like, optional
|
---|
Examples
>>> for i, snapshot in enumerate(cam.rotation(np.pi, 10)):
... iw.write_bitmap(snapshot, 'rotation_%04i.png' % i)