Post-Processing

Motion Blur

Motion Blur applies directional blurring to simulate movement. Supports linear, radial (zoom), and rotational blur types for different motion effects.

Example Configuration

motion-blur.json
{
  "effect": {
    "postProcesses": [
      {
        "id": "pp_blur",
        "type": "motion-blur",
        "enabled": true,
        "settings": {
          "type": "linear",
          "intensity": 0.3,
          "angle": 0,
          "samples": 16,
          "centerX": 0.5,
          "centerY": 0.5
        }
      }
    ]
  }
}

Settings

PropertyTypeRange/ValuesDefaultDescription
typeenumlinear, radial, rotationallinearBlur type
intensitynumber0-20.3Blur strength
anglenumber0-3600Blur direction (linear mode)
samplesnumber4-4816Blur quality (higher = smoother)
centerXnumber0-10.5Center X (radial/rotational)
centerYnumber0-10.5Center Y (radial/rotational)

Blur Types

TypeDescription
linearStraight directional blur (uses angle parameter)
radialZoom blur radiating from center point
rotationalSpin blur rotating around center point

Suggested Presets

StyleSettings
Speed Linestype: linear, intensity: 0.4, angle: 0
Zoom Effecttype: radial, intensity: 0.3, samples: 24
Spintype: rotational, intensity: 0.2, samples: 32
Subtle Motiontype: linear, intensity: 0.1, angle: 45, samples: 12

API Usage

render-request.json
POST /api/v1/render
{
  "state": {
    "canvas": {
      "aspectRatio": "16:9",
      "backgroundColor": "#1a1a1a"
    },
    "layers": [...],
    "selectedLayerId": null,
    "effect": {
      "effectId": "none",
      "enabled": true,
      "postProcesses": [
        {
          "id": "pp_1",
          "type": "motion-blur",
          "enabled": true,
          "settings": {
            "type": "radial",
            "intensity": 0.4,
            "samples": 24,
            "centerX": 0.5,
            "centerY": 0.5
          }
        }
      ]
    }
  },
  "format": "png",
  "width": 1920,
  "height": 1080
}

Tips

  • Higher samples = smoother blur but more processing
  • Radial blur creates dramatic zoom/focus effects
  • Linear blur at 0° = horizontal, 90° = vertical
  • Adjust centerX/Y to move radial/rotational origin
  • Works great for action/movement emphasis