Nothing

<blur>

Apply one isotropic Gaussian convolution.

Read as Markdown

Examples

Download the complete .nothing source · Source on GitHub

Rendered with ncf-preview at 64 × 32.

A sharp white stripe diffuses under the tinted panel. A thin red shadow extends to the panel’s right, and a yellow stripe paints sharply above the result.
Frame 0 · Frosted panelA sharp white stripe diffuses under the tinted panel. A thin red shadow extends to the panel’s right, and a yellow stripe paints sharply above the result.
XML source
<scene width="64" height="32" frame-rate="24" background="#000000FF">
  <shape>
    <rect anchor-u="0" anchor-v="0" offset-x="20" width="4" height="32"/>
    <fill><paint><solid color="#FFFFFFFF"/></paint></fill>
  </shape>
  <shape>
    <rect anchor-u="0" anchor-v="0" offset-x="10" offset-y="6" width="40" height="18" corner-radius="3"/>
    <backdrop-filter><blur sigma="3"/></backdrop-filter>
    <fill><paint><solid color="#3080C030"/></paint></fill>
    <filter><drop-shadow dx="4" dy="2" sigma="0" color="#FF0000FF"/></filter>
  </shape>
  <shape>
    <rect anchor-u="0" anchor-v="0" offset-x="28" width="2" height="32"/>
    <fill><paint><solid color="#FFFF00FF"/></paint></fill>
  </shape>
</scene>

Under a source filter, blur the previous image in premultiplied linear sRGB with transparent black beyond its image. Under a backdrop filter, read accumulated paint using the parent scope's sampling boundary.

Syntax

Measure a local blur under camera zoom

The camera zoom of two maps local sigma 2 to four picture pixels. At (35, 16), alpha is about 24 in this backdrop example.

<blur sigma="2"/>

Complete .nothing source · Sample checks

Usage context

Allowed parents are <filter>, <backdrop-filter>.

Includes Gaussian blur.

A source filter admits repeated blur steps. A backdrop filter requires exactly one. Backdrop blur

Attributes

Property animation

sigma

Value local units · If omitted 0 · Keys Scalar · Declared by Gaussian blur

Nonnegative Gaussian standard deviation. Zero copies the input to the blur stage.

Children

ElementsCardinalityDeclared byRole and source order
<animate>Zero or moreAnimationA track targets one keyable property on this owner. For equal first-key times, the later track in document order wins. Evaluating animation tracks

Specifications

On this page