blurMotionBlur() - Media Method
The blurMotionBlur() method simulates the type of blur that results from motion (as in the photo of a tree photographed from a moving car).
Note: This function is “selection aware”—if a selection is made, the system applies the function based on the current selection. For more information about making selections, see selection() - Media Method.
Syntax
blurMotionBlur(
[Angle @ <value -360..360>]
[Distance @ <value 1..250>]
);
Parameters
Angle - specifies the direction of the blurring motion. The default is 0 (level, suggesting motion from left to right).
Distance - specifies the intensity or “motion speed” of the effect. The default is 10.
Example
var image = new Media();
image.load(name @ "peppers.tga");
image.blurMotionBlur(Angle @ 30, Distance @ 10);
image.save(type @ "jpeg");
On-Line Documentation