FisheyeCamera.
rotation
(theta, n_steps, rot_vector=None, clip_ratio=None)¶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
clip_ratio : float, optional
|
---|
Examples
>>> for i, snapshot in enumerate(cam.rotation(np.pi, 10)):
... iw.write_bitmap(snapshot, 'rotation_%04i.png' % i)