yt.visualization.volume_rendering.camera.MosaicFisheyeCamera.move_to

MosaicFisheyeCamera.move_to(final, n_steps, exponential=False)[source]

Loop over a look_at

This will yield n_steps snapshots until the current view has been moved to a final center of final.

Parameters:

final : array_like

The final center to move to after n_steps

n_steps : int

The number of look_at snapshots to make.

exponential : boolean

Specifies whether the move/zoom transition follows an exponential path toward the destination or linear

Examples

>>> for i, snapshot in enumerate(cam.move_to([0.2,0.3,0.6], 10)):
...     cam.save_image('move_%04i.png' % i)