Pan

Function
This function pans the image with sub-pixel precsision. If you want to have the image wrap around the frame (ie, anything exiting the right edge of the image re-appears on the left), use Scroll.

Parameters
Type
Defaults
Function
x,yPan
float
0,0 The x and y pan values.
motionBlur
float
0 Motion Blur quality level. 0 means no blur, whereas 1 represents standard filtering. For more speed, use less than 1. This value gets multiplied by the Global Parameter motionBlur.
shutterTiming
float
.5 Shutter length. 0 means no blur, whereas 1 represent a whole frame of blur. Note that standard camera blur is 180 degrees, or a value of .5. This value gets multiplied by the Global Parameter shutterTiming.
shutterOffset
float
0 This is the offset from the current frame at which the blur is calculated. Default is 0, previous frames are less than 0.


Synopsis

 image Pan( image,
  float xPan, 
  float yPan,
  float motionBlur,
  float shutterTiming,
  float shutterOffset,
 );


Script

 image = Pan( 
  image,
  xPan, yPan
  motionBlur,
  shutterTiming,
  shutterOffset,
  );


Command Line

shake -pan xPan yPan motionBlur etc....


See Also
Scroll, Move2D