User's Manual

56 Chapter 3
Example
var image = new Media();
image.load(name @ "peppers.tga");
image.blurMoreBlur();
image.save(type @ "jpeg");
blurMotionBlur()
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,” so that if a selection has been made, the system applies
it based on the current selection. For more information about making selections, see “selection()” on
page 129.
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.