Example Kernels

Some example Blink kernels are listed below. If you’re unsure how to implement something in a Blink kernel, check the Features for each example to find a kernel that might be doing something similar.

BallomaticKernel

The BallomaticKernel applies a distorting lens-like effect to its input.

Features:

Iteration Type Input Access Functions Used
Pixelwise Random pow()

BoxBlur1DKernel

The BoxBlur1DKernel does a one-dimensional box blur on its input.

Features:

Iteration Type Input Access Functions Used
Componentwise 1D Ranged None

BoxBlur2DKernel

The BoxBlur2DKernel does a two-dimensional box blur on its input.

Features:

Iteration Type Input Access Functions Used
Componentwise 2D Ranged None

ConvolutionKernel

The ConvolutionKernel convolves its input with a second, filter input.

Features:

Iteration Type Input Access Functions Used
Pixelwise 2D Ranged, Random None

CurtainKernel

The CurtainKernel applies a rippling effect to its input.

Features:

Iteration Type Input Access Functions Used
Componentwise 1D Ranged sin()

DepthBlurKernel

The DepthBlurKernel blurs an image according to the depth.

Features:

Iteration Type Input Access Functions Used
Pixelwise 2D Ranged, Random clamp()

InvertKernel

The InvertKernel inverts the colours on its input. (This kernel is the default when you create a BlinkScript node.)

Features:

Iteration Type Input Access Functions Used
Componentwise Point None

LensFlareKernel

The LensFlareKernel generates a tunable lens flare.

Features:

Iteration Type Input Access Functions Used
Pixelwise No inputs user-defined

Median5x5Kernel

The Median5x5Kernel does a 5x5 median filter on its input.

Features:

Iteration Type Input Access Functions Used
Componentwise 2D Ranged median()

ResizeKernel

The ResizeKernel scales its input horizontally or vertically using a bilinear filter.

Features:

Iteration Type Input Access Functions Used
Componentwise Random bilinear()

SwirlomaticKernel

The SwirlomaticKernel warps part of its input around in a swirl.

Features:

Iteration Type Input Access Functions Used
Pixelwise Random cos(), sin()

WipeKernel

The WipeKernel does a wipe between two inputs.

Features:

Iteration Type Input Access Functions Used
Componentwise Point cos(), sin()