Shear

Function
This function skews the image left and right or up and down. You can motion blur it as well.

Parameters
Type
Defaults
Function
x,yShear
float
0,0 Shearing on the x and y axis.
x,yCenter
float
width/2, height/2 The center of the shear.
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 Shear( 
  image,
  float xShear, 
  float yShear,
  float xCenter, 
  float yCenter,
  float motionBlur,
  float shutterTiming,
  float shutterOffset,
 );


Script

 image = Shear( 
  image,
  xShear, yShear,
  xCenter, yCenter,
  motionBlur,
  shutterTiming,
  shutterOffset,
  );


Command Line

shake -shear xShear yShear xCenter yCenter etc....

 

See Also
Move2D, CornerPin, Move3D