Interface: CRTFilterOptions

CRTFilterOptions

Options for the CRTFilter constructor.

Properties:
Name Type Default Description
curvature number 1

Bend of interlaced lines, higher value means more bend

lineContrast number 0.25

Contrast of interlaced lines

lineWidth number 1

Width of the interlaced lines

noise number 0.3

Opacity/intensity of the noise effect between 0 and 1

noiseSize number 1

The size of the noise particles

seed number 0

A seed value to apply to the random noise generation

time number 0

For animating interlaced lines

verticalLine boolean false

The orientation of the line:

true create vertical lines, false creates horizontal lines

vignetting number 0.3

The radius of the vignette effect, smaller values produces a smaller vignette

vignettingAlpha number 1

Amount of opacity on the vignette

vignettingBlur number 0.3

Blur intensity of the vignette

Members

curvature number

Bend of interlaced lines, higher value means more bend

Default Value:
  • 1

lineContrast number

Contrast of interlaced lines

Default Value:
  • 0.25

lineWidth number

Width of the interlaced lines

Default Value:
  • 1

noise number

Opacity/intensity of the noise effect between 0 and 1

Default Value:
  • 0.3

noiseSize number

The size of the noise particles

Default Value:
  • 1

seed number

A seed value to apply to the random noise generation

Default Value:
  • 0

time number

For animating interlaced lines

Default Value:
  • 0

verticalLine boolean

The orientation of the line:

true create vertical lines, false creates horizontal lines

Default Value:
  • false

vignetting number

The radius of the vignette effect, smaller values produces a smaller vignette

Default Value:
  • 0.3

vignettingAlpha number

Amount of opacity on the vignette

Default Value:
  • 1

vignettingBlur number

Blur intensity of the vignette

Default Value:
  • 0.3