Rotate

Function
This function rotates the image with sub-pixel precision.

Parameters
Type
Defaults
Function
angle
float
0 The rotation angle. Positive values are counter-clockwise rotation.
aspectRatio
float
1 The aspectRatio, for when you are using anamorphic frames.
x,yCenter
float
width/2, height/2 The x and y rotate center 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 Rotate( image,
  float angle,
  float aspectRatio,
  float xCenter, 
  float yCenter,
  float motionBlur,
  float shutterTiming,
  float shutterOffset,
 );


Script

 image = Rotate( 
  image,
  angle, 
  aspectRatio,
  xCenter, yCenter
  motionBlur,
  shutterTiming,
  shutterOffset,
 );


Command Line

shake -rotate angle aspectRatio xCenter etc....

 

See Also
Orient, Move2D