RFX-GIMP

motion-blur
Login

motion-blur

Command:
Motion Blur
Type:
Effect
Download:
motion-blur.script
Description:
TODO
Pre-loop code:
default.preloop
Loop code:
motion-blur.loop
Post-loop code:
None
Triggers:
motion-blur.triggers

Parameters:

$p0 Linear (boolean in group 1)
$p1 Radial (boolean in group 1)
$p2 Zoom (boolean in group 1)
$p3 Length (0-10000)
$p4 Angle (0-360)
$p5 X Center (0-10000)
$p6 Y Center (0-10000)
$p7 Blur Outward (boolean)

Notes:

This script is the first one I've written that uses parameters and I was very pleased with how easy it was to do (as you can see by looking at the motion-blur.loop code.

The init triggers handler sets the maximum values for length to greater of the width and height. It sets the initial settings for center for the filter to the center of the frame, and sets the maximum value for the centers to width and height of the frame.