Interface: OldFilmFilterOptions

OldFilmFilterOptions

Options for the OldFilmFilter constructor.

Properties:
Name Type Default Description
noise number 0.3

Opacity/intensity of the noise effect between 0 and 1

noiseSize number 1

The size of the noise particles

scratch number 0.5

How often scratches appear

scratchDensity number 0.3

The density of the number of scratches

scratchWidth number 1

The width of the scratches

seed number 0

A seed value to apply to the random noise generation

sepia number 0.3

The amount of saturation of sepia effect, a value of 1 is more saturation and closer to 0 is less, and a value of 0 produces no sepia effect

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 1

Blur intensity of the vignette

Members

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

scratch number

How often scratches appear

Default Value:
  • 0.5

scratchDensity number

The density of the number of scratches

Default Value:
  • 0.3

scratchWidth number

The width of the scratches

Default Value:
  • 1

seed number

A seed value to apply to the random noise generation

Default Value:
  • 0

sepia number

The amount of saturation of sepia effect, a value of 1 is more saturation and closer to 0 is less, and a value of 0 produces no sepia effect

Default Value:
  • 0.3

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:
  • 1